Check out the LimeSurvey source code on GitHub!

Set conditions for mandatory field

More
6 years 1 week ago #56983 by mmoloi
Hi,

Can I set a condition on a question to determine whether it should be mandatory or not (i.e. if rated between 1 and 4, question should be mandatory)? Not set the question to mandatory when adding it, but already added! ;)

Any assistance is appreciated.
Mohlomi

Please Log in to join the conversation.

More
6 years 1 week ago #56989 by Mazi
Sorry, that is not possible. conditions always refer to a previous question and can't be used to make a question mandatory.


Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"
The following user(s) said Thank You: mmoloi

Please Log in to join the conversation.

More
6 years 1 week ago #57023 by mmoloi
Thanks for the quick reply. However just making sure my question was well comprehended.
If condition always refer to a previous question, can't based on the previous question response the subsequent question be turned on or off to mandatory? Just making sure and possibly take it up as a feature request.

Thank you again.

Please Log in to join the conversation.

More
6 years 1 week ago #57049 by tpartner
The only way to do this "out-of-the-box" would be to create two copies of the question - one mandatory and one not - and then show the appropriate copy depending on the answer to the condition question. Then you could merge the data from the copies in analysis.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The following user(s) said Thank You: mmoloi

Please Log in to join the conversation.

More
6 years 1 week ago #57060 by mmoloi
100% Tony!!! I will figure out the merge process.

Thank you!

Please Log in to join the conversation.

Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form