PJ7 Posted December 10, 2013 Share Posted December 10, 2013 (edited) Hello to all, For a prestashop 1.5, all my products have 2 mandatory personalization fields. on these fields, I am trying to put: - either to limit the customers entries to: numbers only (1 number after the coma), limited to min and max fixed values - either to check the entries on these fields before showing the cart to the customer, once he has clic on the "add to cart" button. If the fields do not fit the requirement (ie: numbers only, limited to min and max fixed values); If the values do not fit, then an error message will appear instead of the summary of the cart (just like is working the "cartcontroler.php" check on the mandatory fields of customization. Being a newbee in coding (both php and js) if anyone could help. Thank you in advance Best regards Edited December 10, 2013 by PJ7 (see edit history) 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