Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
33Piter opened this issue Aug 13, 2020 · 1 comment
Open

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

33Piter opened this issue Aug 13, 2020 · 1 comment

Comments

@33Piter
Copy link

33Piter commented Aug 13, 2020

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.

@AdminAPC
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants