- Posts: 10
- Thank you received: 0
Ask the community, share ideas, and connect with other LimeSurvey users!
{if(Q1=="Brooklin","New York") if(Q1=="Manhattan","New York") if(Q1=="Hollywood","Los Angeles")}
Hmmm, can't really believe that, because the first example on this page already shows how to write an if loop in EM...VanEyck wrote: Thank you Holch. Yeah, I've been reading the manual but to be completely honest, I've tried with every example's syntax with no positive result.
VanEyck wrote: Which type of question should I use? Equation or list type?
{ if(Q1==A1,"New York") if(Q1==A2,"New York") if(Q1==A3,"Los Angeles") }
Your city is: {if(G3Q1.NAOK == "A1", "New York", "")} {if(G3Q1.NAOK == "A2", "Los Angeles", "")}
{if(Q1_SQ1 != '' AND Q1_SQ1 == Q1_SQ2, 1, 0)}