Jump to content

Internationalization: Regex Checks On Address Fields Depending On Country


Max

Recommended Posts

Being able to specify regular expression checks on address fields for each country would be nice.

E.g. addresses in the Netherlands must always have a house number, a zip code matching "[0-9]{4} [A-Z]{2}" and a 10 digit phone number.

 

Some local domain registries like .nl verify the address information, and reject the domain registration if it is not valid.

So it is better to catch typing errors straight away, when the customer is entering his address. 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...