laravel-surveyjs icon indicating copy to clipboard operation
laravel-surveyjs copied to clipboard

How to customize the Survey Builder (ex: add custom properties)?

Open 33Piter opened this issue 5 years ago • 1 comments

Hello!

(created a fork and made some dependency changes to run on laravel 7)

In my Surveyjs application, I have some custom properties. These customizations were made in javascript. ex:

Survey .Serializer .addProperty ("page", { name: "page_weight", displayName: "Page Weight", choices: [{ value: 100, "text": "Hi" }, { value: 60, "text": "Mid" }, { value: 30, "text": "Low" }], category: "Weight", categoryIndex: 1 });

I have not found where to make these changes in your app. I tried to add a js file after the survey-manager.js, without success. I tried to include this code in SurveyBuilder.vue, also without success.

I also need to include JS code on the Survey page, for score calculation.

Thanks in advance.

33Piter avatar Aug 13 '20 02:08 33Piter

Hello, Same problem here. I need change property and change language for creator too. Thanks in advance.

AdminAPC avatar Dec 13 '21 13:12 AdminAPC