Randomly view one of 2 questions in an organised way

More
3 years 1 month ago #122603 by exlibris139
exlibris139 created the topic: Randomly view one of 2 questions in an organised way
Apologies for the contradiction in the title, it's the best way I could think of to word it!
I need to randomly allocate participants of a survey to see either question X or question Y. However, I need to use block randomisation (i.e, for a block of 4 participants, 2 will be in X and 2 in Y). Is this possible within Limesurvey? I know that I can easily implement randomisation whereby each participant will be randomly allocated to X or Y, but I run the risk of an imbalance, or long streaks of imbalance at least. I'm inclined to think it may not be possible, as I think it requires that the survey somehow keeps track of the previous allocations and I'm not sure how to achieve that.

Any input would be appreciated, I'm really just scoping this out right now.

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

More
3 years 1 month ago #122623 by tpartner
tpartner replied the topic: Randomly view one of 2 questions in an organised way
You are correct - this is not possible with core LimeSurvey. There is no way to know how many COMPLETED responses have been assigned to a particular "stream".

I suppose you could make an AJAX call to a remote PHP script that queries the database but that would require some development and would not be able to account for concurrent incomplete responses,

Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

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!