Skip to content
This repository has been archived by the owner on Jan 19, 2024. It is now read-only.

Commit

Permalink
Adding postal code constraint and example for Norway.
Browse files Browse the repository at this point in the history
  • Loading branch information
iamEAP committed Dec 30, 2014
1 parent 9997acd commit eacde67
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/addressfield.json
Original file line number Diff line number Diff line change
Expand Up @@ -6661,7 +6661,9 @@
"locality": [
{
"postalcode": {
"label": "Postal code"
"label": "Postal code",
"format": "^\\d{4}$",
"eg": "0025"
}
},
{
Expand Down

0 comments on commit eacde67

Please sign in to comment.