+1 vote
in SoSci Survey (English) by s057462 (330 points)

Hi there,
We are aiming to survey 100 participants from 4 different cultural backgrounds, we want to ensure that we only have 25 participants per culturally distinct group. Therefore, we were hoping there was a way of filtering participants over this value (i.e. participant 26+) and displaying a different end message; thanking them for their time but not requiring them to complete the rest of the questions.
Put simply, participants are asked at the beginning about their cultural identification and their response to this question will impact whether they are shown the rest of the questionnaire (if they are participant number 1-25 in their cultural group) or taken to the end screen (participant number 26+).
Is this possible?
Thanks very much in advance.

1 Answer

0 votes
by SoSci Survey (326k points)
selected by s057462
 
Best answer

You can use the statistic() function for that. Unfortunately, the respective manual chapter ist not available in English currently (only German).

By and large, you use statistic('count', 'VarID', [response]) to count the number of (completed) questionnaires for the group matching [response], and if this is >= 25 the you make a screenout.

by s057462 (330 points)
Thanks very much for your response. We have now remedied the issue and it is working well. However would just like to note on the forum that the question type must be "Selection" rather than "Multiple Choice", whilst this is the case for obvious reasons it did take us a while to figure out that it was this that was preventing our php code from working. Thanks again

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

...