Closed johnholliday closed 8 months ago
Hello @johnholliday, You can use the Serializer API to register a custom invisible weight property. To calculate the overall weight on survey completion, implement the survey.onComplete function, iterate through survey responses and calculate the total weight. An example is available at Scored Survey.
Please drop me a line if you have more questions.
Are you requesting a feature, reporting a bug or asking a question?
Question
What is the current behavior?
Predefined question types do not have a 'weight' field.
What is the expected behavior?
How to extend the SurveyCreator so that all questions have a 'weight' field that is available to the survey designer, but is not shown to users filling out the form. This will allow the survey designer to implement a function that calculates the overall rating for the answered questions.
How would you reproduce the current behavior (if this is a bug)?
Provide the test code and the tested page URL (if applicable)
Tested page URL:
Test code
Specify your