BeforeSurveyActivate: Difference between revisions
From LimeSurvey Manual
No edit summary |
No edit summary |
||
Line 22: | Line 22: | ||
''message'' Error message to show. This will be shown independent of ''success'' | ''message'' Error message to show. This will be shown independent of ''success'' | ||
''blockFeedback'' If true, will hide the feedback dialog where user can choose to enable tokens. | ''blockFeedback'' If true, will hide the feedback dialog where user can choose to enable tokens. | ||
Revision as of 14:51, 18 August 2016
When
This event is fired just before the survey is activated.
Input
The event receives the following information:
surveyId The id of the current survey
simulate Boolean
Possible output
The following information can be set in the event:
success False will abort the activation
message Error message to show. This will be shown independent of success
blockFeedback If true, will hide the feedback dialog where user can choose to enable tokens.
Example