From 7db67fb4f341b68a50b066bc2b6e7e2ce9922b94 Mon Sep 17 00:00:00 2001 From: tofulm Date: Fri, 29 Mar 2024 10:41:01 +0100 Subject: [PATCH] feat: ajout des champs types * email * tel refs #2 --- inc/gamucontact.php | 2 ++ 1 file changed, 2 insertions(+) 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', ]