Validate a zip code field on a home page popup in Magento 1.9 style might be using jquery button click.
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
I hope that helps.