Solved

Address Lookup on form

Posted on 2013-12-17
4
267 Views
Last Modified: 2014-01-14
Hi,

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?

Thanks
0
Comment
Question by:coolispaul
4 Comments
 
LVL 38

Expert Comment

by:Tom Beck
ID: 39723670
How can a postcode consistently resolve to a single mailing address? Not in the U.S. anyway.
0
 

Author Comment

by:coolispaul
ID: 39723675
well a list of possible addresses is shown

UK based this is

Cheers
0
 
LVL 52

Expert Comment

by:Scott Fell, EE MVE
ID: 39724229
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
0
 
LVL 42

Accepted Solution

by:
Chris Stanyon earned 500 total points
ID: 39724471
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:

http://www.poweredbypaf.com/

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

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

JavaScript can be used in a browser to change parts of a webpage dynamically. It begins with the following pattern: If condition W is true, do thing X to target Y after event Z. Below are some tips and tricks to help you get started with JavaScript …
I've been asked to discuss some of the UX activities that I'm using with my team. Here I will share some details about how we approach UX projects.
The viewer will learn how to count occurrences of each item in an array.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now