Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

example relevance equation for multiple choice?

  • wheelie
  • wheelie's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 3 months ago - 7 years 3 months ago #146103 by wheelie
Hi! I'm scouring the manual but I can't find the simple answer I seek.
Can you tell me what's wrong with my syntax or (better yet!) tell me what the right syntax would be?
In English, I want to show Q3 only if both Q1 = Y and Q2_SQ002 is checked. (Q1 is Y/N, but Q2 is Multiple Choice.)
In the Relevance Equation box for Q3, I wrote "Q1=='Y' AND Q2_SQ002=='Y'
The Editor does not recognize my variable Q2_SQ002 - even though it matches the variable name I picked out (I did use my own labels even though I reverted to default labels here for clarity).
Thanks for your help!
Last edit: 7 years 3 months ago by wheelie. Reason: edited typo
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 3 months ago #146106 by DenisChenu
Replied by DenisChenu on topic example relevance equation for multiple choice?
Hi : can you sedn a screenshot of the survey logic file ?

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
  • wheelie
  • wheelie's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 3 months ago #146112 by wheelie
Thanks for responding. I found a workaround by rephrasing it as a series of yes/no questions instead of multiple choice. All good!
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose