" data-action="subscribe_save">
Inscription

Veuillez remplir le formulaire ci-dessous pour vous inscrire

get('password_forbidden_char')); if(!empty($forbiddenChars)) $passwordLegend .= ''; $selectedFormats = json_decode($conf->get('password_format'),true); if(is_array($selectedFormats) && !empty($selectedFormats)) $passwordLegend .= ''; $fields = array( 'firstname' => array( 'label' => '', 'type' => 'text', 'placeholder' => 'ex: John', 'legend' => 'Prénom', 'default' => '', 'required' => true, 'attributes' => array( 'class' => '"text-capitalize form-control"' ), ), 'name' => array( 'label' => '', 'type' => 'text', 'placeholder' => 'ex: DOE', 'legend' => 'Nom de famille', 'default' => '', 'required' => true, 'attributes' => array( 'class' => '"text-uppercase form-control"' ), ), 'mail' => array( 'label' => '', 'type' => 'mail', 'placeholder' => 'john@doe.com', 'legend' => 'Votre email', 'default' => '', 'required' => true, ), 'mail_confirm' => array( 'label' => '', 'type' => 'mail', 'placeholder' => 'john@doe.com', 'legend' => 'Confirmation de votre email', 'default' => '', 'required' => true, ), 'password_initialisation' => array( 'label' => '', 'type' => 'password', 'placeholder' => '************', 'attributes' => array( 'autocomplete'=>'"new-password"', 'data-generator' => true, 'data-show-strength' => true, 'data-forbidden' => $forbiddenChars, 'data-length' => '"6"', 'onkeyup' => '"subscribe_password_update(this)"', 'onchange' => '"subscribe_password_update(this)"', ), 'legend' => 'Mot de passe '.$passwordLegend, 'default' => '', 'required' => true ), 'password_confirm' => array( 'label' => '', 'type' => 'password', 'placeholder' => '************', 'legend' => 'Confirmation de mot de passe', 'default' => '', 'required' => true ) ); Plugin::callHook('subscribe_form',array(&$fields)); foreach(FieldType::toForm($fields) as $field): ?>
-
get('subscribe_enable_captcha')): ?>
Valider