0 votes
ago in SoSci Survey (English) by s348533 (110 points)

Hello
I am making a questionnaire for my thesis and I have make a randomizer that will give each participant different conditions but same set of questions. However, I want to set a quota/limit on the amount each conditions appear. After, it reach the amount that condition will not appear again. How do I do it?
Thank you

ago by SoSci Survey (359k points)
In the default setting, the random generator will draw each condition equally often - that means if one hits the limit, all others will as well. What shall happen, then?
ago by s348533 (110 points)
Is it possible to set a limit for each conditions? Because I want 60 responses from each conditions. I know that randomizer will random 1 condition for each participant. If the responses of 1 condition reached 60, I want randomizer to stop giving that condition and only randomly give the other 2 conditions when both reach 60 then stop excepting response. Is it possible?

1 Answer

0 votes
ago by SoSci Survey (359k points)

Okay, that's easy. Simply use a random generator witht he default settings.

And then use the code from Display Individual Codes or Coucher Codes with a "stop" condition after the random generator has been empties 60-times (not 1 time like in the manual).

if (value('RG01_CP') > 60) {
  setStatus('quota full');
}

Use a panel redirect element (to be found with the questions) do decide what text to display when the quota is full. As an option, you can also use this PHP code without the panel redirect element:

if (value('RG01_CP') > 60) {
  text('AB01');
  buttonHide();
  pageStop();
}

Willkommen im Online-Support von SoSci Survey.

Hier bekommen Sie schnelle und fundierte Antworten von anderen Projektleitern und direkt von SoSci Survey.

→ Eine Frage stellen


Welcome to the SoSci Survey online support.

Simply ask a question to quickly get answers from other professionals, and directly from SoSci Survey.

→ Ask a Question

...