Actions

BeforeSurveyActivate: Difference between revisions

From LimeSurvey Manual

No edit summary
No edit summary
Line 10: Line 10:
The event receives the following information:
The event receives the following information:


''surveyId'' The id of the current survey
{|
 
! Name !! Type !! Description
''simulate'' Boolean
|-
| surveyid || Integer || The id of the current survey
|-
| simulate || boolean || -
|}





Revision as of 16:06, 18 August 2016

 Hint: This features is available starting in version 2.5


When

This event is fired just before the survey is activated.


Input

The event receives the following information:

Name Type Description
surveyid Integer 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

pluginFeedback HTML; if set, will show this HTML instead of the default success feedback message


Example