diff --git a/inc/gamucontact.php b/inc/gamucontact.php index a57b0ec..e55bb70 100644 --- a/inc/gamucontact.php +++ b/inc/gamucontact.php @@ -19,6 +19,7 @@ function inc_gamucontact_dist(){ 'saisie' => 'input', 'options' => [ 'nom' => 'email_contact', + 'type' => 'email', 'label' => '<:gamucontact:votre_email:>', 'class' => 'w100', 'obligatoire' => 'oui', @@ -33,6 +34,7 @@ function inc_gamucontact_dist(){ 'saisie' => 'input', 'options' => [ 'nom' => 'telephone', + 'type' => 'tel', 'label' => '<:gamucontact:votre_telephone:>', 'obligatoire' => lire_config('gamucontact/telephone_obligatoire') === 'oui' ? 'oui' : 'non', ]