pawelo Posted June 17, 2014 Share Posted June 17, 2014 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 More sharing options...
pawelo Posted June 18, 2014 Author Share Posted June 18, 2014 I already have solved this Link to comment Share on other sites More sharing options...
csschopper.com Posted June 20, 2014 Share Posted June 20, 2014 Please mark this topic as Solved. Thanks Alok Link to comment Share on other sites More sharing options...
vekia Posted June 20, 2014 Share Posted June 20, 2014 solved threads without solution shared with community arent solved 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