Condition for a whole group of questions

More
4 years 3 months ago #97046 by gdybxxf91f
gdybxxf91f created the topic: Condition for a whole group of questions
Hi everybody!

I need help because I want to add a condition for a whole group of question, I asked in chat and they wrote about Relevance Equation field. Can anybody show me how to use this??

Thank you

Please Log in to join the conversation.

More
4 years 3 months ago #97093 by tpartner
tpartner replied the topic: Condition for a whole group of questions
You can set relevance for a whole group:

Attachment Capture_2013-06-19.JPG not found




For more on relevance, see - manual.limesurvey.org/Expression_Manager

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

Please Log in to join the conversation.

More
4 years 3 months ago #97103 by gdybxxf91f
gdybxxf91f replied the topic: Condition for a whole group of questions
Now I have another doubt. For a group of question I want to show only in case the answers for two different question is a particular one.
e.g: P024 = A1 and P025 = A1

How I write this?? :(

Please Log in to join the conversation.

More
4 years 3 months ago #97112 by DenisChenu
DenisChenu replied the topic: Condition for a whole group of questions

Mcrigo13 wrote: How I write this?? :(

P024 == "A1" and P025 == "A1"

tpartner wrote: For more on relevance, see - manual.limesurvey.org/Expression_Manager


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
4 years 3 months ago #97118 by gdybxxf91f
gdybxxf91f replied the topic: Condition for a whole group of questions
((P024 == "A1" || P024 == "A2" || P024 == "A3" || P024 == "A6" && P025 == "Y" || P024 == "A7" && P025 == "Y"))
I have this for a relevance group question. For P024 option 6 and 7 works, but when I answer A1 - A3 the group question doesnot appear :S

Please Log in to join the conversation.

More
4 years 3 months ago #97122 by tpartner
tpartner replied the topic: Condition for a whole group of questions
It looks like you only want "A6" and "A7" to work if P025 == "Y".

If so, the equation would be:
(P024 == "A1" || P024 == "A2" || P024 == "A3" || (P024 == "A6" && P025 == "Y") || (P024 == "A7" && P025 == "Y") )

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: gdybxxf91f

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now