|
|
|
|
|
by ZeroGravitas
5473 days ago
|
|
Just to be clear about what I thinking, because I'm not sure I expressed myself well: If I type in a postcode and house number on a site using the Royal Mail PAF, then it goes and gets my address. Currently, your service won't. But if I enter my full address once on one site using it, it'll then be keyed against my postcode and house number and appear automatically on others. That very first time I enter a new address you could probably do various clever things to make entering my address easier. It shouldn't be difficult to map any postcode to a country (Scotland, England etc.) and other larger regions. In cases where it's not 100% possible you could probably return a (potentially incomplete) list of nearby streetnames, towns etc. which could trigger an autocomplete when the user starts typing the first letter. Once they've chosen a streetname then that may in turn dictate the rest. Most of this data could be extracted from OpenStreetmap or directly from the Ordnance Survey Open Data, particularly Code Point and OS Locator, meaning you'd only need users to confirm a street name, and enter a house name or number to get a full record. (It would be nice to allow users to report errors in the OS Locator street names too. There's been a few errors found in both sets by comparing the OSM data against the OS.) |
|
That is a good idea but your original point might be right, empty fields could be a bit strange. I'll give it a try and see how how it looks (probably not till the weekend - client work to do).