How to make a mandatory question based on answers to two other issues

More
3 years 1 month ago #113776 by guyllaume
guyllaume created the topic: How to make a mandatory question based on answers to two other issues
Hi,
In my survey, I have a question that is only displayed based on answers to two other questions.
How to make this mandatory question when it appears ?

Thank you for your help.

Please Log in to join the conversation.

More
3 years 1 month ago #113778 by DenisChenu
DenisChenu replied the topic: How to make a mandatory question based on answers to two other issues
Expression Manager

or condition editor GUI

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in to join the conversation.

More
3 years 1 month ago #113793 by guyllaume
guyllaume replied the topic: How to make a mandatory question based on answers to two other issues
Hi Denis,

In "Relevance equation" i have (display conditions) :
((G01Q01.NAOK == "A2") and (G02Q08.NAOK == "A2" or G02Q08.NAOK == "A4"))

and i try in "Validation" :
if(((114268X75X1490.NAOK == 'A2') and (114268X76X1502.NAOK == 'A2' or 114268X76X1502.NAOK == 'A4')),114268X76X1516.mandatory='Y',114268X76X1516.mandatory='N')

but it does not work
I'm still newbie with LimeSurvey

Please Log in to join the conversation.

More
3 years 1 month ago #113794 by DenisChenu
DenisChenu replied the topic: How to make a mandatory question based on answers to two other issues
ANd why you don't just check Mandatory to this question ?

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .
The following user(s) said Thank You: guyllaume

Please Log in to join the conversation.

More
3 years 1 month ago #113798 by guyllaume
guyllaume replied the topic: How to make a mandatory question based on answers to two other issues
I fully expected the display conditions didn't work when the question was mandatory.
I'm really a newbie and a "boulet" (in french in the text)

Thank's a lot Denis

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!