@nxskok @tg My favourite forms are the ones where you just start typing the street address and it very quickly works out the rest.
I live on a street with about 100 houses sharing the same UK postcode.... starting postcode first usually means I end up scrolling through 50 āhouse numbersā before I find mine.
This is _so_ good. I think roughly this _every_ single time I fill out my address online.
@tg As others have said, there are problems with international addresses, but those are solvable I think.
The worst is when I enter my address and city and country and then the zipcode, and then it tells me that my city is wrong and wants me to fix it. Like if I put "Brookline" and it wants "Brookline Hills" (not my actual city).
But yes, if you know all that data from the zipcode, just enter it for me.
@tg This just straight up automatically hits at least two of these incorrect assumptions. The biggest one is there's vast swaths of the western US that have no ZIP code. Also, ZIP codes correspond to postal routes, not cities: 97229 covers Portland, Beaverton, Aloha and Bethany in Oregon. And that's just on one street!
https://www.mjt.me.uk/posts/falsehoods-programmers-believe-about-addresses/
@bnut Don't get me wrong, still put the ZIP first, but _only_ to ballpark things. It shouldn't fail just because someone changes the city, state, county, province or country. Could be improved further by putting the country first, then the ZIP. That _probably_ covers all bases unless there's some stateless addresses I'm oblivious to.
@bnut Where my thinking's at on putting the country first is that it narrows down the assumptions somewhat, since that immediately narrows down if postcodes are numeric, alphabetic, or alphanumeric, and how long. Especially since I know that the US is *bizarre* in that our postcodes correspond to postal routes, not geographically compact areas, and having both 5 and 9 digit ZIPs.
@BalooUriza yeah, I get it, but the post code is still less typing (if you have one).
In theory entering any field first is fine, just some are better than others. For example, if you put suburb first then ę°å®æåŗ is probably going to narrow down the countries to one option.