Multiple-choice Q prevents choosing 2 contradictory choices but allows others

More
4 years 5 months ago - 4 years 5 months ago #86135 by Sartan
I'm creating an "Employment Status" multiple-choice question.
The choices are:
□ Retired
□ Part-time work
□ Full-time work
□ Student

How can I make it possible for a person to choose
[PT work & student]
or
[FT work & student]
BUT prevent choosing [both PT work & FT work]?

UPDATE: On IRC/Chat, c_schmitz said (Sept 27, 2012, 4:30 am Eastern Time):

I would not know of an immediate solution rather than to split it to different questions using conditions

I then said:

c_schmitz: ok. Maybe we'll see this in the next version of LimeSurvey? ;-)

<@c_schmitz> said:

unlikely ;)

<Mazi> said

you can use the Expression Manager to check both answers and set a question validation equation which shows a meaningsful error message when these two are selected

I asked Mazi:

oh, okay. Is there a newbie-friendly way to implement this idea?

Mazi said

the last example here shows how to use custom question validation: www.limesurvey-consulting.com/how-to-val...esses-at-limesurvey/

Last Edit: 4 years 5 months ago by Sartan.

Please Log in to join the conversation.