3 ms·
Oh, it gets worse fast. I hate street address validators that insist you live in a house or apartment with a number on a given street. Because? I live in fla
by cstross 17y ago
Oh, it gets worse fast.
I hate street address validators that insist you live in a house or apartment with a number on a given street.
Because?
I live in flat m at street number n on Foo Street.
Here in Scotland -- where I live -- there are three ways to put this on an envelope, all recognized by the post office:
Flat m, n Foo Street
m/n Foo Street (this is the one in the Post Office postcode lookup database)
Flat xFy n Foo Street (where y is floor number and x is apartment number on that floor, e.g. 3F2, 12 High Street)
... So why do so many Javascript address validators throw out m/n or xFy format addresses for having an illegal character in the middle? Including British ones, that back onto the official Post Office lookup database?
Address formats aren't standardized internationally. They aren't even standardized within countries with a unified postal service.