bogdi01 Posted March 18, 2008 Share Posted March 18, 2008 Hello! when I create a new customer account I want that the "Mobile Phone" field and another 2 fileds that I will add to be required. I opend customer.php from class folder but I don't know what should I modify. Link to comment Share on other sites More sharing options...
Skyers13 Posted August 20, 2008 Share Posted August 20, 2008 I also want to know how to set Mobile Phone is required to fill?I tried to edit authentication.tpl as below < p class="required" >{l s='Mobile phone'}<input type="text" class="text" name="phone_mobile" id="phone_mobile" value="{if isset($smarty.post.phone_mobile)}{$smarty.post.phone_mobile|escape:'htmlall':'UTF-8'}{/if}" />*< /p > but it seems that it is not work. You still can ignore the mobile phone when you registration.Anyone know how to set the required field? thank you Link to comment Share on other sites More sharing options...
jtyana Posted August 20, 2008 Share Posted August 20, 2008 I too would like to make the phone number mandatory Link to comment Share on other sites More sharing options...
Skyers13 Posted August 21, 2008 Share Posted August 21, 2008 I found the solution in another topic. http://www.prestashop.com/forums/viewthread/2767/Developpement_et_graphisme/Rendre_un_champ_supplementaire_obligatoire_lors_de_linscriptionI tried and works it now. thank you Link to comment Share on other sites More sharing options...
jtyana Posted August 27, 2008 Share Posted August 27, 2008 Thank-youI didn't understand a word of the French but the code works just fine Link to comment Share on other sites More sharing options...
Recommended Posts