Random assignment to conditions

10 months 5 days ago - 10 months 5 days ago #152729 by simulacrum6
simulacrum6 replied the topic: Random assignment to conditions
Probably not relevant anymore, but maybe some desperate limesurvey user will read this and rejoice:

Create a Question (myQuestion) of Type Equation. Set the Question Text to
{if( is_empty(myQuestion), rand(1,4), myQuestion )}

This will assign a random value between 1 and 4 to myQuestion, if it has not been previously assigned.
Last Edit: 10 months 5 days ago by simulacrum6.

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!