Welcome to the LimeSurvey Community Forum

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

Mandatory setting based on answer

  • jsansonn
  • jsansonn's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
6 years 2 weeks ago #167036 by jsansonn
Mandatory setting based on answer was created by jsansonn
Hello,
I would like to modify question 2 based on the answer to question 1.

1. I would like to set Question 2 mandatory or not, based on answer from question 1 (question 1 is radio button).
2. If questions 2 becomes mandatory, then "no answer" radio button should disappear

I think it's easy to do with the conditions, but I can not find it.
Any help would be welcome. Thank you !
Julien
The topic has been locked.
More
6 years 2 weeks ago #167041 by jelo
Replied by jelo on topic Mandatory setting based on answer
The mandatory setting itself cannot be changed via conditions or Expressionmanager.
When using conditions, you could just copy the question and set one question to mandatory. Depending on the condition you show one question (one with or without the mandatory setting). That way you end up with two response fields for one question.

If you want everything in one question, you might use Expressionmanager and do a validation expression in the second question to enforce and answers to that question.
You can learn more about Expression manager here:
manual.limesurvey.org/Expression_Manager

The noanswer button is not shown in the second way. You're better off creating such fields inside your question.
Depending on your LimeSurvey version you can use relevance on subquestions.

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The following user(s) said Thank You: jsansonn
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose