It’s common to encounter, especially HR Portals, trying to enforce a ‘valid’ address. Trouble is it’s often an American developer and they have no idea about other countries. Here in the UK they like to insist on a 'county ’ field for postal address, despite it being over thirty years since postal addresses here even had counties (which didn’t match the actual counties but anyway). The drop down list they like to give isn’t a list of counties either, it’s an out of date list of local authorities, which were never part of anyone’s address.
I worked at a place once where we had to use an internally developed form to order supplies. Form checked user name against company active directory (fine) but also checked that surname+first initial was at least 6 characters. No idea why and very resistant to changing it but my surname is 4 characters and a lot of Chinese ones are only 2…
Luckily my application only has to work in Canada and the US.
Sometimes one of my customers will ship to Mexico, and I just don’t validate those addresses because they’re a nightmare.
Do you know of a great validator for the UK? My validation provider offers international validation but I just don’t trust that it’s accurate and take it on a country by country basis.
Sorry, only just seen this. I don’t work in this sector I am afraid. Some things that might help you:
There is no legal definition of a ‘valid’ address in the UK- If you post it then the Post Office will try to deliver it. If they can work it out from what is written, and they will try very hard, then that’s ‘an address’. This has been established in law.
There is advice on how you should write an address . This is how e.g. a bank or utility will address mail, but see above. TBH at this point you could probably put a What3Words on the envelope and it could work.
For most addresses in the UK you will want to correlate the postcode with the street address, as shown here. A street address is a number (or house name, or both) and a street name on one line, e.g. ‘29 Acacia Road’. Street address + Postcode is how people target e.g. a satnav to an address. A postcode generally relates to a group of addresses, but larger organisations, e.g. a hospital or council office will have a postcode just for them, e.g. ‘Buckingham Palace’. Beware that whilst postcodes don’t change, new ones are being added all the time and they aren’t sequential.
Validators in the US aren’t great either btw. They’re always getting our address wrong or won’t validate zip+4 codes, which is supremely annoying when it’s more accurate.
Cuts both ways however:
It’s common to encounter, especially HR Portals, trying to enforce a ‘valid’ address. Trouble is it’s often an American developer and they have no idea about other countries. Here in the UK they like to insist on a 'county ’ field for postal address, despite it being over thirty years since postal addresses here even had counties (which didn’t match the actual counties but anyway). The drop down list they like to give isn’t a list of counties either, it’s an out of date list of local authorities, which were never part of anyone’s address.
I worked at a place once where we had to use an internally developed form to order supplies. Form checked user name against company active directory (fine) but also checked that surname+first initial was at least 6 characters. No idea why and very resistant to changing it but my surname is 4 characters and a lot of Chinese ones are only 2…
Luckily my application only has to work in Canada and the US.
Sometimes one of my customers will ship to Mexico, and I just don’t validate those addresses because they’re a nightmare.
Do you know of a great validator for the UK? My validation provider offers international validation but I just don’t trust that it’s accurate and take it on a country by country basis.
Sorry, only just seen this. I don’t work in this sector I am afraid. Some things that might help you:
Validators in the US aren’t great either btw. They’re always getting our address wrong or won’t validate zip+4 codes, which is supremely annoying when it’s more accurate.