Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Randomly view one of 2 questions in an organised way

  • exlibris139
  • exlibris139's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
9 years 3 months ago #122603 by exlibris139
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.
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
9 years 3 months ago #122623 by tpartner
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.
The topic has been locked.
Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose