- Posts: 11
- Thank you received: 1
Ask the community, share ideas, and connect with other LimeSurvey users!
{if(random == 1, 'Text string 1.', if(random == 2, 'Text string 2.', 'Text string 3.'))}
{if(random == 1, 'Text string 1.', if(random == 2, 'Text string 2.', 'Text string 3.'))}
It's simply placed in the question text.I have no idea where the nested IF statements should be display.
{if(random == 1, 'Text string 1.', if(random == 2, 'Text string 2.', 'Text string 3.', 'Text string 4.', 'Text string 5.'))}
{if(random == 1, 'Text string 1.', if(random == 2, 'Text string 2.', if(random == 3, 'Text string 3.', 'Text string 4.', 'Text string 5.'))}
{if(condition, 'Returned result if true', 'Returned result if false')}
{if(condition1, 'Returned if true', if(condition2, 'Returned if true', if(condition3, 'Returned if true', if(condition4, 'Returned if true', if(condition5, 'Returned if true', 'Returned if all conditions false' ))))}
{if(random == 1, 'Text string 1.', if(random == 2, 'Text string 2.', if(random == 3, 'Text string 3.', if(random == 4, 'Text string 4.', 'Text string 5.' ))))}