Skip to content

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

@33Piter

Description

@33Piter

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions