Using insertans within if commands

More
2 months 4 days ago #157650 by joebloggs1987
joebloggs1987 created the topic: Using insertans within if commands
I am just wondering how to display an answer by using an if command.

E.g....
if(a == 1, "INSERTANS", "")

Is there a way of doing this in Limesurvey?

Thanks.

Please Log in to join the conversation.

More
2 months 4 days ago - 2 months 4 days ago #157652 by Joffm
Joffm replied the topic: Using insertans within if commands
Of course:

Without knowing exactly, what "a==1" is, well, just any comparison.
Something like: {if(a==1,Q01_SQ001.NAOK,"alternative text")}

Joffm
Last Edit: 2 months 4 days ago by Joffm.
The following user(s) said Thank You: LouisGac

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now