- Posts: 3
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Can I force a user to enter Yes to all questions before continuing?
- dvdrip
- Topic Author
- Offline
- New Member
Less
More
9 years 6 months ago #112454
by dvdrip
Can I force a user to enter Yes to all questions before continuing? was created by dvdrip
I have a yes/no array.
I want the user to be forced to enter yes to all 3 answers before he/she can continue to the next page.
Can I do this?
e.g.
Are you over 18? Yes/No
Do you live in the city? Yes/No
Do you know English? Yes/No
I need all answers to be Yes before he/she can continue with the survey and to the next page.
Can I do some short of validation?
Thanks
I want the user to be forced to enter yes to all 3 answers before he/she can continue to the next page.
Can I do this?
e.g.
Are you over 18? Yes/No
Do you live in the city? Yes/No
Do you know English? Yes/No
I need all answers to be Yes before he/she can continue with the survey and to the next page.
Can I do some short of validation?
Thanks
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10611
- Thank you received: 3690
9 years 6 months ago #112455
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic Can I force a user to enter Yes to all questions before continuing?
Use relevance to hide all subsequent groups if the answers aren't all "Yes" -
manual.limesurvey.org/Expression_Manager...ation.2FBranching.29
You can also use Expression Manager to tailor the end message accordingly - manual.limesurvey.org/Expression_Manager...swers.2C_and_Reports
.
You can also use Expression Manager to tailor the end message accordingly - manual.limesurvey.org/Expression_Manager...swers.2C_and_Reports
.
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
- dvdrip
- Topic Author
- Offline
- New Member
Less
More
- Posts: 3
- Thank you received: 0
9 years 6 months ago #112456
by dvdrip
Replied by dvdrip on topic Can I force a user to enter Yes to all questions before continuing?
I don't want to just hide the groups.
I did what you said and if the users selects NO the survey allows him to continue and it just ends.
I want to not allow him to continue (hit next) if he doesn't select yes.
I did what you said and if the users selects NO the survey allows him to continue and it just ends.
I want to not allow him to continue (hit next) if he doesn't select yes.
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10611
- Thank you received: 3690
9 years 6 months ago #112457
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic Can I force a user to enter Yes to all questions before continuing?
In that case, I would use 3 separate List (Radio) questions and put a quota of 0 on each of their "No" answers -
manual.limesurvey.org/Quotas
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
- dvdrip
- Topic Author
- Offline
- New Member
Less
More
- Posts: 3
- Thank you received: 0
9 years 6 months ago #112459
by dvdrip
Replied by dvdrip on topic Can I force a user to enter Yes to all questions before continuing?
Nice idea but it will not work on custom Arrays like mine:
Currently only the following question types can have a quota defined for it:
Gender
Multiple Choice
Array - 5 Point Choice
Array - 10 Point Choice
Language Switch
Yes/No
List (Radio)
List (Dropdown)
List with comments
Currently only the following question types can have a quota defined for it:
Gender
Multiple Choice
Array - 5 Point Choice
Array - 10 Point Choice
Language Switch
Yes/No
List (Radio)
List (Dropdown)
List with comments
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10611
- Thank you received: 3690
9 years 6 months ago #112475
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic Can I force a user to enter Yes to all questions before continuing?
You're welcome, and that's why I said "I would use 3 separate List (Radio) questions".
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
- fransmarcelissen
- Offline
- Premium Member
Less
More
- Posts: 118
- Thank you received: 49
9 years 6 months ago - 9 years 6 months ago #112478
by fransmarcelissen
Replied by fransmarcelissen on topic Can I force a user to enter Yes to all questions before continuing?
Make a mandatory array of radio boxes, or separate radio boxes, with "yes" als the only answer option.
Or a multiple choice question with only one option, and a minimum number of selections of 1.
In both cases the user must click "yes" before he can contintue.
Frans
Or a multiple choice question with only one option, and a minimum number of selections of 1.
In both cases the user must click "yes" before he can contintue.
Frans
Last edit: 9 years 6 months ago by fransmarcelissen.
The topic has been locked.