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?

More
10 years 11 months ago #112454 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
The topic has been locked.
More
10 years 11 months ago #112455 by tpartner
Use relevance to hide all subsequent groups if the answers aren't all "Yes" - www.limesurvey.org/manual/Expression_Man...ation.2FBranching.29

You can also use Expression Manager to tailor the end message accordingly - www.limesurvey.org/manual/Expression_Man...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.
More
10 years 11 months ago #112456 by dvdrip
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.
The topic has been locked.
More
10 years 11 months ago #112457 by tpartner
In that case, I would use 3 separate List (Radio) questions and put a quota of 0 on each of their "No" answers - www.limesurvey.org/manual/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.
More
10 years 11 months ago #112459 by dvdrip
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
The topic has been locked.
More
10 years 11 months ago #112475 by tpartner
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.
More
10 years 11 months ago - 10 years 11 months ago #112478 by fransmarcelissen
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
Last edit: 10 years 11 months ago by fransmarcelissen.
The topic has been locked.
Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose