• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 297
  • Last Modified:

Address Lookup on form


I want to create an address lookup function on my site.
i.e. the person enters the postcode and the full address is shown for easy comletion of address fields

Whats the best way to accomplish this - can google maps be used?

1 Solution
Tom BeckCommented:
How can a postcode consistently resolve to a single mailing address? Not in the U.S. anyway.
coolispaulAuthor Commented:
well a list of possible addresses is shown

UK based this is

Scott Fell, EE MVEDeveloperCommented:
You need to start with having a database of all available addresses....  Or an api.

I am not familiar with the UK as I am with the US.  It looks like you want to duplicate this service http://www.royalmail.com/postcode-finder/ and they offer a way for you to become a solution provider http://www.poweredbypaf.com/sp/sp-products/paf-raw-data/  and you should understand the licensing http://www.poweredbypaf.com/licensing-centre/public/getting-started.html
Chris StanyonCommented:
The only official source of this information is from the Royal Mail and it's called the Postcode Address File (PAF).

You have 2 options on using this file.

You can purchase the PAF from Royal Mail (usually on a CD), install it locally (on your webserver) and create the code to query it yourself. To do this you would pay the Royal Mail an annual fee

The other option is to subscribe to a 3rd party provider that has effectively already done the above, and created an API for you to use. Different providers offer different services, but effectively most will charge you 'per-click/search'.

Your own programmings skills and the traffic you expect will dictate which is the most cost-effective solution.

Here's the site:


You can use the site to find 3rd party providers as well.

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now