Actions

BeforeRegisterForm

From LimeSurvey Manual

 Hint: This features is available starting in version 2.06
 Hint: This feature changed with version 3.0


When

This event is fired just before the form of core register form is called

Input

The event receives the following information:

  • surveyid the id of the current survey
  • lang the laguage set in param
  • aRegistersErrors array of errors (if exists)

Possible output

  • registerForm : data sent to register_form.twig template. Regsiter_form can be replaced by getPluginTwigPath event.

Before 3.0 :

  • registerForm : The form to be display at user

Example