Postcode validation rules

Reference: Postcode validation rules

To all forms which include the Country and Postcode fields the following validation rules are applied:

1) If the United State is selected from the 'Country' drop down list, entered postcode should match one of the rules: 
a) (five digits) 
b) (five digits)(dash)(four or six digits).

2) If the United Kingdom is selected from the 'Country' drop down list, the entered postcode should match the rule: 
(one or two letters)(number between 0 and 99)(zero or one letter)(space)(single digit)(two letters) 

Important note for developers and shop owners who use bespoke templates:

This functionality is only available for templates that have the generic template version id=8 or greater. Please see Template Version Control for more information on the generic template version


Have more questions? Submit a request


Article is closed for comments.