Sickboards Posted March 6, 2018 Share Posted March 6, 2018 Hello I am trying to see how to also check if people don't forget their street number, using the green V or red X when filling in their address (so not on submit form), (this should give a red X) It should give a red X if no number is present, but it should still be possible to submit because some addresses (mainly UK) don't have a number. Where in the code can I find this on the fly validation. At first I thought it was the function isAddress in Validate.php but that seems to be triggered on submit not on the fly. Running Presta 1.6.1.4 Help is appreciated. Link to comment Share on other sites More sharing options...
bellini13 Posted March 24, 2018 Share Posted March 24, 2018 most likely this validation occurs in a javscript file somewhere, not in a php file. you will need to search through your themes javascript files, as well as the javascript files in the /js folder (not in the theme folder) 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