Check out the LimeSurvey source code on GitHub!
Welcome, Guest
Username: Password:

TOPIC: Condition for a whole group of questions

Condition for a whole group of questions 3 years 1 month ago #97046

  • gdybxxf91f
  • gdybxxf91f's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 10
  • Karma: 0
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
The administrator has disabled public write access.

Condition for a whole group of questions 3 years 1 month ago #97093

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 6140
  • Thank you received: 1363
  • Karma: 535
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.
The administrator has disabled public write access.
The following user(s) said Thank You: gdybxxf91f

Condition for a whole group of questions 3 years 1 month ago #97103

  • gdybxxf91f
  • gdybxxf91f's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 10
  • Karma: 0
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?? :(
The administrator has disabled public write access.

Condition for a whole group of questions 3 years 1 month ago #97112

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 9293
  • Thank you received: 1327
  • Karma: 384
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 developpement are on my free time (Say thanks ?).
A bug not reported is a bug not corrected. | Please, read the documentation | La doc en français à besoin de vous
The administrator has disabled public write access.

Condition for a whole group of questions 3 years 1 month ago #97118

  • gdybxxf91f
  • gdybxxf91f's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 10
  • Karma: 0
((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
The administrator has disabled public write access.

Condition for a whole group of questions 3 years 1 month ago #97122

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 6140
  • Thank you received: 1363
  • Karma: 535
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 administrator has disabled public write access.
The following user(s) said Thank You: gdybxxf91f
Moderators: ITEd
Time to create page: 0.375 seconds
Imprint                   Data Protection Statement                  Revocation information and revocation form