BeforeRegisterForm

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


 * registerQuick plugin