Random assignment to conditions

More
1 year 1 month ago - 1 year 1 month 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: 1 year 1 month ago by simulacrum6.

Please Log in or Create an account to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!