Re:Why Users Fill Out Forms Faster with Unified Text Fields
by masterzora on Friday July 29, 2011 @02:07PM
(#2823029)
And then some non-lazy guy types in Albuquerque New Mexico and you find that Mexico is not a US State.
I know, this isn't a particularly difficult thing to work around, but I was amused that you replaced one bad assumption with another.
Re:Why Users Fill Out Forms Faster with Unified Text Fields
by bena on Tuesday August 02, 2011 @12:46PM
(#2837751)
Oh well, getting closer. ;)
We could always start taking from the back and doing look ups until we have a match or we finish the string.
Re:Why Users Fill Out Forms Faster with Unified Text Fields
by pavel_lishin on Friday July 29, 2011 @02:35PM
(#2823163)
Dallas, TX, 75254.
Is "." a state? How about "75254"?
This is a bad assumption. What you should do is throw away commas, split along whitespace, and then see if the last element split is a valid state or territory.
Because some lazy guy will type "new orleans la" and just ruin your day.