Jump to content

Registration additional fields


Recommended Posts

Helloo....

 

I'm using new version of prestashop (1.6)... I was created some new checkbox in the registration form (authentication.tpl) 

 

<div class="checkbox">

<input type="checkbox" name="reg_agree" id="reg_agree" value="1" {if isset($smarty.post.reg_agree) AND $smarty.post.reg_agree == 1} checked="checked"{/if} />

<label for="reg_agree" style="width:90%;" >info</label>

</div>

 

And now I try to make it as a required field just like firstname, lastname, email etc. Where I need to add some changes to make it works?? where exactly is the whole validation code?

Link to comment
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...