Actions

BeforeSurveyActivate: Difference between revisions

From LimeSurvey Manual

(Created page with "{{FeatureStarting|2.5}} '''When''' This event is fired just before the survey deactivation screen. '''Input''' The event receives the following information: ''surveyId''...")
 
No edit summary
Line 4: Line 4:


This event is fired just before the survey deactivation screen.
This event is fired just before the survey deactivation screen.


'''Input'''
'''Input'''

Revision as of 16:31, 10 August 2016

 Hint: This features is available starting in version 2.5


When

This event is fired just before the survey deactivation screen.


Input

The event receives the following information:

surveyId the id of the current survey

simulate


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


Example