Welcome to the LimeSurvey Community Forum

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

FAILURE TO SET UP RELEVANCE CONDITION ON YES/NO QUESTIONS

  • Mondejar
  • Mondejar's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 7 months ago - 3 years 7 months ago #221884 by Mondejar
https://imgur.com/a/ybgRKIK
[img

[url] imgur.com/a/ybgRKIK [/url]
Hi, I have three yes/no questions, R1,R2, R3, See the attached image to follow the relevance tree.

The relevance equation for R2 is R1.NAOK==’N’, and works perfectly. And R1.NAOK==’Y’, works perfect in order to display  R3  depending on the answer to R1

 I want to display the text question Q2,  when the user answers ‘N’ to R2 or ‘Y’ to R3. So the relevance equation for question Q2 should be R2.NAOK==’N’ || R3.NAOK==’Y’, right??

No, not right at all, it doesn’t work and I wonder if it is a bug or a YES/NO questions feature.

Interestingly, If I use drop down lists questions in R2 and R3 (two answer options,  codes ‘yes’ and ‘no’) instead of Yes/No questions, it works perfectly with the relevance question R2.code=’no’||R3.code=’yes’.

Sorry if the question is  dumb. I’m bad.
Last edit: 3 years 7 months ago by Mondejar.
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 7 months ago #221890 by tpartner
LimeSurvey version?

Can you attach a small sample survey (.lss file) containing only the relevant questions?

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • Mondejar
  • Mondejar's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 7 months ago - 3 years 7 months ago #221901 by Mondejar
Hi Tpartner, thx for answer

The survey in wich this is happening is a 400 questions monster. I can't attach it.

I just made a new simple one trying to get the same problem with questions R1,R2,R3, and this time the relevance equations on the yes/no questions worked correctly.

So whatever the problem is specific of my survey.

Sorry for the waste of time.

 
Last edit: 3 years 7 months ago by Mondejar.
The topic has been locked.
Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose