Cimpress-MCP / postal-codes-js

Provide postal code validation for javascript
Apache License 2.0
43 stars 36 forks source link

Force ISO 3166-1 alpha-2 validation #60

Open tniemann opened 4 years ago

tniemann commented 4 years ago

Hi,

is there a way to just allow ISO 3166-1 alpha-2 valid postcodes?

For example:

Luxembourg: Valid: 4545 Invalid: L-4545

Latvia: Valid: LV-1005 Invalid: 1005

Thx in advanced