Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Mandatory

  • scene143
  • scene143's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
3 years 8 months ago #203494 by scene143
Mandatory was created by scene143
Hi,

I have 2 question QS7c (Multichoice) & QS8 (Multichoice) both are Mandatory question

I set the conditions in QS81 based on QS7c in Subquestion Relevance but when previewing the survey it is accepting blank.

Can anyone help me with this am not sure what I did wrong?

Attached survey for your reference.

Regards
Sara
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 8 months ago #203496 by Joffm
Replied by Joffm on topic Mandatory
At first sight: Nothing.

I do not see an issue.
If I selected all three I got


and selecting only the first

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
  • scene143
  • scene143's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
3 years 8 months ago #203502 by scene143
Replied by scene143 on topic Mandatory
I am getting QS8 correctly as per QS7c condition

If i click Next in QS8 without clicking any option it is going next section or question. Ideally, it should be Mandatory (Resp has to click any answer)
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 8 months ago #203520 by Joffm
Replied by Joffm on topic Mandatory
Hi, again I do not see an issue.

Either I get the error message


or proceed to a next question.


BUT: This is a classification of the respondents.
You should do this be ExpressionManager in a hidden equation ("QClass") like

{if(QS7c_SQ001!="Y" and QS7c_SQ002!="Y" and QS7c_SQ003=="Y",1,
if(QS7c_SQ001=="Y" and QS7c_SQ002!="Y" and QS7c_SQ003!="Y",2,
if(QS7c_SQ001!="Y" and QS7c_SQ002=="Y" and QS7c_SQ003!="Y",3,
if(QS7c_SQ001=="Y" and QS7c_SQ002!="Y" and QS7c_SQ003=="Y",4,
if(QS7c_SQ001!="Y" and QS7c_SQ002=="Y" and QS7c_SQ003=="Y",5,
if(QS7c_SQ001=="Y" and QS7c_SQ002=="Y" and QS7c_SQ003!="Y",6,
if(QS7c_SQ001=="Y" and QS7c_SQ002=="Y" and QS7c_SQ003=="Y",7,0)))))))}

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
  • scene143
  • scene143's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
3 years 8 months ago #203521 by scene143
Replied by scene143 on topic Mandatory
Thank you for your reply :-)
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose