Welcome to the LimeSurvey Community Forum

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

Relevance equation not working in correct way

  • burhandodhy
  • burhandodhy's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 4 months ago #129177 by burhandodhy
Hi , i have situation where 5 yes no question that are A1a , A1b , A2a ,A2b and A3 . ... A1b show when A1a is answered Yes same for A2b show when A2a is answered Yes and A3 will show when A1b or A2b is answered yes ... and i put this ( A1b == 'Y' || A2b == 'Y) in A3 relevance part but it doent work when A1b = 'Y' and A2a = 'Y'
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
8 years 4 months ago #129182 by tpartner
Replied by tpartner on topic Relevance equation not working in correct way
You need to use ".NAOK" if a variable is possibly hidden by relevance.

Code:
A1b.NAOK == 'Y' || A2b.NAOK == 'Y'

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The following user(s) said Thank You: burhandodhy
The topic has been locked.
  • burhandodhy
  • burhandodhy's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 4 months ago #129184 by burhandodhy
Replied by burhandodhy on topic Relevance equation not working in correct way
Man , You saved my life .. thanks :)
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose