Rhapsody Posted February 20, 2011 Share Posted February 20, 2011 I found that version 1.4 now has a method to validate proper input for Postal / Zip codes based on the settings in the options offered in the BO under Shipping, Countries, then select the country. I was wondering if it were possible to validate two formats for a single country. The US has two acceptable formats: NNNNN = The normal 5 digit zip code NNNNN-NNNN = zip plus 4 code Is there a way to validate against either one so an entry in either format is considered valid? Link to comment Share on other sites More sharing options...
Rhapsody Posted June 12, 2011 Author Share Posted June 12, 2011 Now that I've upgraded to 1.4.2.5 the same question exists. How can I validate two acceptable Postal / Zip code formats?The US has two acceptable formats:NNNNN = The normal 5 digit zip codeNNNNN-NNNN = zip plus 4 code Link to comment Share on other sites More sharing options...
Rhapsody Posted November 20, 2011 Author Share Posted November 20, 2011 There is a work around with manual edits for the AddressController.php and modification to the ps_country table. Look at a related posting at this link. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now