Earlier quoted context omitted.
USPS doesn't care; each ZIP code has a single preferred city name and a list of acceptable alternate city names to account for cases in which a ZIP code spans multiple cities. However, USPS's address validation will prefer to use the preferred city name for the ZIP regardless of whether the recipient actually lives within the boundaries of that city. That's because USPS has opted to organize addressing entirely aroun…
But addresses aren’t just for sending mail. Location also determines which municipal and state laws apply, so there are contexts where the distinction matters.
Put the zip code first
201–210 of 330 posts
Re: Put the zip code first
#202> From those 5 characters you can determine the city, the state, and the country False. Many zip codes include more than one city, and some even cross multiple states. And you can't always tell the difference between codes from different countries. Now you're not just instantly filling the rest of the form, you're implementing fancy multi-country filtering logic, editable drop downs, etc. Given the obvious incompeten…
Re: Put the zip code first
#203Earlier quoted context omitted.
USPS doesn't care; each ZIP code has a single preferred city name and a list of acceptable alternate city names to account for cases in which a ZIP code spans multiple cities. However, USPS's address validation will prefer to use the preferred city name for the ZIP regardless of whether the recipient actually lives within the boundaries of that city. That's because USPS has opted to organize addressing entirely aroun…
But addresses aren’t just for sending mail. Location also determines which municipal and state laws apply, so there are contexts where the distinction matters.
Re: Put the zip code first
#204I used to live in M6C1B5. By forcing "numeric" on the zip code field, you'd immediately loose all Canadians.
This article is so US centric it's not even funny.
Re: Put the zip code first
#205Re: Put the zip code first
#206p.s.: Don't takt this too serious, have just a dark kind of humor.
Re: Put the zip code first
#207It’s easy enough to say “put the zip first because that will tell you city, state and country in one input”. What happens to customers not in the United States? They have no zip to enter. Or if they have a postal code of some stripe, it has a different format. What about folks who are in Turkmenistan, that you’re grumpy about having to scroll past? How are they signing up?
Re: Put the zip code first
#208Falsehoods US programmers believe about addresses: there are no other countries than the US of A, and if there are, they don’t really matter. This person bought a whole domain for something that doesn’t work for 90% of the world, claiming it does, never even testing their assumption. Great job!
Re: Put the zip code first
#209Re: Put the zip code first
#210I definitely agree in principle. But - without doxxing myself - I input my zip and the city is not correct. It’s a very close neighboring suburb (where the boundaries are definitely blurry) but it’s not the city on all the legal documents for my current house.
Yeah city is not fully a function of zip. ~I think state is though.~* I believe when multiple cities share a zip code USPS uses the larger one. Usually the wrong city will get delivered though, probably not guaranteed. * correcting myself, some zip codes do cross state lines