Jump to content
AntoineBa

Rendre le téléphone mobile obligatoire

Recommended Posts

Bonjour,
Je voudrais rendre le numéro de téléphone mobile requis lors de l'inscription d'un client sur mon site.
 
 
 

<p class="text">
            <label for="phone_mobile">{l s='Mobile phone'}</label>
            <span><input type="tel" class="text validate" name="phone_mobile" id="phone_mobile" value="{if isset($smarty.post.phone_mobile)}{$smarty.post.phone_mobile}{/if}" data-validate="isPhoneNumber" /></span>
        </p>

j'ai essayer de modifier ce champs comme sa :

<p class="text">
            <label for="phone_mobile">{l s='Mobile phone'}</label>
            <span><input type="tel" class="text {if isset($one_phone_at_least) && $one_phone_at_least}is_required{/if} validate" name="phone_mobile" id="phone_mobile" value="{if isset($smarty.post.phone_mobile)}{$smarty.post.phone_mobile}{/if}" data-validate="isPhoneNumber" /></span>
        </p>

Mais aucun résultat :rolleyes:

 

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More