1

Validate a zip code field on a home page popup in Magento 1.9 style might be using jquery button click.

asked Feb 15, 2019 at 6:57

1 Answer 1

1

If you use the standard Magento form validation you can do this by adding the css class validate-zip to your form field. That will pass the form input to the corresponding method in validatation.js.

I hope that helps.

answered Feb 15, 2019 at 8:57
1
  • Thanks we have used mask.js Commented Apr 8, 2019 at 12:22

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.