Randomly insert different text into a survey question
If you want to randomly display a statement (text or sentence) into a question, you can do this by placing the following code into your question at the place you want to insert the random text: 

{if(rand(0,1) > .5,"Question Text 1","Question Text 2")} 

Replace Question Text 1 and Question Text 2 with your own statements.

This code generates a random number between 0 and 1, and when it is larger than .5 it shows the first statement, and when less, it shows the 2nd statement.
28 of 60 people found this helpful.   




Powered by LiveZilla Live Chat