I’m designing a survey which includes 2 questions like
- what’s the number of faculty?____
- what’s the number of faculty by gender? Male____ Female____
The second question is a continuous sum question and I want to add a validation that the total of Q2 equals to Q1.
I’m using the custom script here https://script.surveygizmo.com/help/setting-max-total-value-dynamically to achieve this. The only problem is that the two questions have to be in separate pages for this script to work. Any idea how I can get around that? I want to put the two questions in the same page.
the CSS works fine to make sure that the sum of the input does not exceed the max total, but it does not prevent the sum from being lower than the max total. How can we make sure it reaches “exactly” the predetermined total?
There is not a way to get around the two-page requirement when using a Custom Script (it is a server-side language that requires page submission to process data).
If you don’t have development resources and want to explore this, it may be worthwhile to reach out to SurveyGizmo Programming Services Team to have them design a custom solution for you:
Hope this helps clarify!