Expression Manager If Statement Problems

More
3 years 4 months ago #111014 by cputinar
cputinar created the topic: Expression Manager If Statement Problems
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?

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!