I want to restrict all zipcodes except the two zipcodes on checkout form at frontend. So as the user will input any zipcode different above two the order should not be placed.
I found this extension https://www.magentocommerce.com/magento-connect/shipping-restriction.html It deos not allow specific zipcode that they want to restrict. but I want to restict all zipcodes besides two above.
I am using persistent checkout form. Below is the image of my check out form-
Till now what I was doing that I have applied a jquery blur function on zipcode text input it check zipcode on blur. In this case it works fine but when user use autofills property of browser, it bypass my function and it allow user to checkout with any zipcode so now I want to check zipcode on click event of button Continue.
Can anyone advise me what Can I do ? Is there any observer that is called on click on continue button(above image) in billing information. Please feel free to ask any question?