- Posts: 16
- Thank you received: 0
Ask the community, share ideas, and connect with other LimeSurvey users!
Please Log in to join the conversation.
<pre> {TOKEN-3*floor(TOKEN/3)} </pre> <p> </p>
https://myServer/limesurvey/index.php/{randnum}?lang=it
{if(randnum2==1,'123456', if(randnum2==2,'234567', if(randnum2==3,'345678', if(randnum2==4,'456789', if(randnum2==5,'567890','678901') ) ) ) )}
https://myServer/limesurvey/index.php/{eqSID}?lang=it
Please Log in to join the conversation.
Please Log in to join the conversation.
You see the IF-statement. Here you see that ANYBODY is assigned to one of the surveys.how can I make sure that each respondent is randomly assigned to a survey
This is something you can't.and that each survey is completed by an equal number of participants?
Instead of a random number you could use the SAVEDID and the same MODULO calculation as before.should not be random but each entry should be assigned to survey x, the next one to survey y.
{if(randnum2==1,'123456', if(randnum2==2,'234567', if(randnum2==3,'345678', if(randnum2==4,'456789', if(randnum2==5,'567890','678901') ) ) ) )}
{if(randnum2==1,'123456', if(randnum2==2,'234567', if(randnum2==3,'567890', if(randnum2==4,'456789', if(randnum2==5,'567890','678901') ) ) ) )}
Please Log in to join the conversation.
Please Log in to join the conversation.