Tag Info

New answers tagged

6

You mention that other fields are validated but not the region field, that your primary motivation is for mailing addresses. If this helps you at all, only one of those countries you mention in your list of examples (USA) uses the region name in the mailing address. I took an entirely unscientific examination of a random set of industrialised or ...


1

/*Haven't looked at it extensively, but the "[Google Geocoding API][1]" looks like they've already built that functionality for you. You can get "administrative area" at 5 different levels of precision, based on the country. If a user sets the country first you should be able to dynamically determine and display what the appropriate "region" is called. No ...


0

This poses an interesting question. Most websites have a local reach but assuming a global company with a global reach then it is a real issue but one that can be mitigated. The language selection of the user's browser would help narrow things down a lot. If your company is truly global then it probably has multiple languages (which will help narrow the ...



Top 50 recent answers are included