AntoineBa Posted May 28, 2016 Share Posted May 28, 2016 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 Link to comment Share on other sites More sharing options...
Cyrius91 Posted May 29, 2016 Share Posted May 29, 2016 Bonjour vous pouvez prendre exemple sur ce post: https://www.prestashop.com/forums/topic/322571-resolurendre-obligatoire-le-champs-birthday/?do=findComment&comment=1655488 Espérant que ça aura pu vous aider. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now