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

0 votes

I need to set a limit of participants in my survey (let's say, once I've reached 100 participants, I want the survey to give a message saying that we don't need more participants, for example). How / Where can I do that?
Thanks in advance!

ago in SoSci Survey (English) by s155032 (110 points)

1 Answer

0 votes

You can use the function statistic() to limit the number of respondents.

A simple solution could look like this (on page 1):

$n = statistic('count');
if ($n > 100) {
  text('quotafull');
  buttonHide();
  pageStop();
}

For more elaborate examples, please see the manual Quota.

ago by SoSci Survey (140k points)
...