Actions

BeforeSurveyPage: Difference between revisions

From LimeSurvey Manual

No edit summary
 
(5 intermediate revisions by one other user not shown)
Line 3: Line 3:
'''When'''
'''When'''


This event is fired just before the survey (during runtime) is displayed on screen.
This event is fired just before the survey (during runtime) is displayed on screen. It is fired before ''any'' HTML is echoed, so don't echo anything here.


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


The event receives the followiong information:
The event receives the following information:


''surveyId'' the id of the current survey
''surveyId'' the id of the current survey
Line 18: Line 18:
''template'' The name of the template to use
''template'' The name of the template to use


[[Category:Plugins]]
[[Category:Plugins events]]

Latest revision as of 16:54, 20 January 2017

 Hint: This features is available starting in version 2.05 build 140109


When

This event is fired just before the survey (during runtime) is displayed on screen. It is fired before any HTML is echoed, so don't echo anything here.

Input

The event receives the following information:

surveyId the id of the current survey


Possible output

The following information can be set in the event:

template The name of the template to use