Check out the LimeSurvey source code on GitHub!
Welcome, Guest
Username: Password:

TOPIC: Expression Manager If Statement Problems

Expression Manager If Statement Problems 2 years 3 months ago #111014

  • cputinar
  • cputinar's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 5
  • Karma: 0
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 administrator has disabled public write access.
Time to create page: 0.173 seconds
Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form