3 ms·
It seems like the right way to do this is to have a positive list, but to accept anything. If you put in a city on the list, then you get the green SUCCESS (an
by ianferrel 15y ago
It seems like the right way to do this is to have a positive list, but to accept anything.
If you put in a city on the list, then you get the green SUCCESS (and probably some autocomplete suggestions to take you there), if you put in one that's not on the list, you get an no cue at all (or an equivocal one)
Then as you make successful orders to previously unknown cities, you can add them to the known list (possibly as aliases of the "real" city name, which you can then display as a choice to future users on entry.
- aquark 15y agoThe list of valid cities in the US is likely huge -- having an auto complete list that matched anything would likely make it harder as the users has to scroll past a lot of close but not the right ones. Populating the auto-complete list with the 100 biggest cities and accepting any input would probably give a better compromise. Or why not just ask for zip code first and auto-populate the rest?
- wccrawford 15y agohttp://www.greatdata.com/zip-code-questions.htm http://www.greatdata.com/zip-code-questions.htm Q: How often do the ZIP / postal codes really change? A: U.S. ZIP Codes change sporadically. Most of the time there's just a few changes, but every now and then (especially around July 1st) there will be major changes. ---- ... In other words, they change all the bloody time.