Using insertans within if commands

More
1 year 1 month 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 or Create an account to join the conversation.

More
1 year 1 month ago - 1 year 1 month 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


Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last Edit: 1 year 1 month ago by Joffm.
The following user(s) said Thank You: LouisGac

Please Log in or Create an account to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!