OnSurveyDenied: Difference between revisions
From LimeSurvey Manual
No edit summary |
No edit summary |
||
Line 15: | Line 15: | ||
| surveyId || integer || The id of the current survey | | surveyId || integer || The id of the current survey | ||
|- | |- | ||
| reason || string || One of the following: | | reason || string || One of the following: | ||
* noPreviewPermission | |||
* surveyNoLongerAvailable | |||
* surveyNotYetStarted | |||
* alreadyCompleted | |||
* sessionExpired | |||
* invalidToken | |||
|} | |} | ||
Revision as of 16:04, 19 August 2016
When
This event is fired when a survey taker is blocked from taking the survey. Several reasons can trigger this event, see below.
Input
The event receives the following information:
Name | Type | Description |
---|---|---|
surveyId | integer | The id of the current survey |
reason | string | One of the following:
|
Possible output
None.
Example
// todo