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

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


Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.