Jump to content

Required fields


Recommended Posts

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

  • 5 months later...

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

×
×
  • Create New...