Welcome, Guest
Username: Password: Remember me

TOPIC: Condition for a whole group of questions

Condition for a whole group of questions 2 years 2 months 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 2 years 2 months ago #97093

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 5111
  • Thank you received: 1049
  • Karma: 440
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

This message has an attachment image.
Please log in or register to see it.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
The administrator has disabled public write access.
The following user(s) said Thank You: gdybxxf91f

Condition for a whole group of questions 2 years 2 months 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 2 years 2 months ago #97112

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 7510
  • Thank you received: 1024
  • Karma: 297
Mcrigo13 wrote:
How I write this?? :(
P024 == "A1" and P025 == "A1"

tpartner wrote:
For more on relevance, see - manual.limesurvey.org/Expression_Manager
The administrator has disabled public write access.

Condition for a whole group of questions 2 years 2 months 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 2 years 2 months ago #97122

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 5111
  • Thank you received: 1049
  • Karma: 440
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.

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
The administrator has disabled public write access.
The following user(s) said Thank You: gdybxxf91f
Moderators: ITEd
Time to create page: 0.176 seconds