Hey all!
Newbie here. I have set up a Lime survey and I want to randomly show a question out of 6 possible questions. The question is only a 'display text' message with a particular link.
The set-up of my design is as follows: The participant arrives at the survey, confirms the informed consent, then is shown a link to an altered website. There are 6 conditions, which affect the interface of the website, so there are 6 different links (one to each altered website).
So what I tried to do, as was proposed in this tutorial:
survey-consulting.com/how-to-randomly-sh...a-limesurvey-survey/
is first have a hidden question group with an 'equation' question in it (for test purposes only 2 conditions)
{if(is_empty(randnumber.NAOK),rand(1,2),randnumber.NAOK)}
in the question field.
I also tried putting it in the 'logic' equation field, but both failed.
Secondly, I have a group 'Show random question' with two 'display text' questions in it
randomQ1 <sample text in question field>
randomQ2 <sample text in question field>
In each of those I put the following in the 'relevance equation' box on the right:
((randnumber.NAOK==”1″))
((randnumber.NAOK==”2″))
respectively.
It gave me an error, because of the quotation marks. I removed them, but I also tried it with the quotation marks still in place. When they're in place both questions show up. When they're not in place no questions show up. I also tried to change the number in the equation to rand(0,2), to see if maybe it pick a number between 0 and 2, which is only 1. But no...
I also tried putting the following in the relevance equation field:
randnumber==1
randnumber==2
also with quotation marks. I have also tried removing (()). I have tried using the 'SetConditions' option for the random questions and select the randnumber as a condition. None seems to work so far...
So... Yeah! Help! I have provided pictures in the attachments. (Note: the standard text on my page is a display text question saying "Well, not really random, but showing up?" to see if the page was loading.)
Thanks

Some Dutch experimenter