example relevance equation for multiple choice?

More
3 years 7 months ago - 3 years 7 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: 3 years 7 months ago by wheelie. Reason: edited typo
The topic has been locked.
LimeSurvey Partners
More
3 years 7 months ago #146106 by DenisChenu
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.
More
3 years 7 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.

Start now!

Just create your account and start using Limesurvey today.

Register now