Index of help pages

Limiting registrations for a group in LimeSurvey

Usually you should use a system dedicated to registrations -- Sisu for courses etc. However, it is possible to use LimeSurvey to some degree too. Here we show how to limit number of registrations to a group.

Make a question of type Multiple choise and put weekday to it's code. Add subquestion with code mo and text Monday, and similarly tu/Tuesday.

To the question text put Already {statCountIf(weekday_mo.sgqa, "Y")} people have registered for Monday. Activate the survey and test. Deactivate so that you can change it.

Now change the question text Monday to be Monday ({2-statCountIf(weekday_mo.sgqa, "Y")} places left) and the condition field put statCountIf(weekday_mo.sgqa, "Y") < 2. Activate and you are done. Note that this does not limit registrations if another loads the survey before first has press the submit-button; for really limiting you need much more coding.