Greetings!
I’m a new LimeSurvey user (version 2.05+ Build 141113). I’m designing a psychological experiment where participants are randomized into one of 8 different conditions. Each condition contains the same questions, but participants will be “manipulated” in a different way (e.g., different background colour etc.).
My problem is how to randomize participants
evenly between these 8 conditions. Going through the manual and searching for pre-existing threads has helped me get as far as this:
I have created an equation-type question {rand(1,

} that is always hidden. After that the following questions are conditionally shown based on the value of the random number: questions in condition 1 are shown if rand(1,

= 1, etc.
The randomization works, but, as expected, isn’t evenly distributed between the conditions. I need 70 participants per condition (or as close as possible to this). I thought about working around this by changing the rand() parameters “on the go” – i.e., when one condition gets the needed 70 participants, I could switch the rand() parameters to exclude that condition. However, this seems a bit cumbersome: if, e.g., condition "5" is the first to get the 70 participants, then how to exclude number "5" from the rand() -function?
Another way I thought of was including a code that randomly picks a number from an array (i.e., array of 1, 2, 3, 4, 5, 6, 7,

, and I would just edit that array "on the go", but lacking background in programming, I'm not sure how to do that either.
Sincerely appreciating your help,
Jussi Palomäki
p.s. the word "condition" is not in reference to the LimeSurvey term, despite being hyperlinked