Welcome to the LimeSurvey Community Forum

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

Expression Manager If Statement Problems

  • cputinar
  • cputinar's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 8 months ago #111014 by cputinar
I'm trying to use the expression manager to change a vehicle if an answer choice is selected.

Right now my expression is: if(((Q1.NAOK == "A2")), join(Q0_SQ002, ' ', Q0_SQ003), join(Q2_SQ002, ' ', Q2_SQ003))

So if A2 is selected, then Q0_SQ002 Q0_SQ003 will be shown but if anything other than A2 is selected then Q2_SQ002 Q2_SQ003 will be shown.

Right now if you select something other than A2 it works, but if you select A2 it will not show Q0_SQ002 Q0_SQ003 and instead shows nothing.

What can I do to fix this?
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose