Jump to content

Address Validation (and street number)


Recommended Posts

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), 


image.png.28abe2e0f7922f266250a851e2a6e824.png (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

Help is appreciated.

Link to comment
Share on other sites

  • 3 weeks later...

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...