Overview
There are cases when questionnaire should behave in a certain way, dynamically, based on a logic that is related to the field sample. The field sample is controlled by the quota system. Please Click Here to learn more on quota management in SurveyToGo.
You can base the logic of choosing the least filled Quota either on Single Choice or Multiple Selection Questions
Using a Single Choice Question
The relevant sample will show how to randomly choose a quota that is “least filled” (has that largest difference between its target and its current value).
Using a Multiple Selection Question
The relevant sample will randomly select a Maximum of 3 colors based on the least filled quota.
Please find the attached the sample surveys. The next link shows how to import the samples into your account:
https://support.dooblo.net/hc/en-us/articles/208293905-How-To-Import-a-Survey
Please also view the following link to learn more on the quotas functionality in the User Logic interface:
http://support.dooblo.net/hc/en-us/articles/208295375-Introduction-to-Quota-Functions-for-Scripting
That’s it!
Comments
Hi, a complete randomization is fine. My question was more about whether there is an issue with the code that could be giving Q179 priority over the other two choices? I have checked the code again, but unsure whether there is an error in it or if I'm not scripting it correctly.
Please sign in to leave a comment.