Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

JavaScript Forum


You are currently viewing our JavaScript Forum as a guest. Please register to participate.
Login



Reply
How to use AJAX to fill in (uk) address from post code?
Old 02-27-2008, 04:27 PM How to use AJAX to fill in (uk) address from post code?
dansgalaxy's Avatar
Defies a Status

Posts: 6,521
Name: Dan
Location: Swindon
Trades: 0
Hi,

new to Ajax, got the general idea of basic and want to have a order form which gets the users address to be able to get the rest of their address after they enterd the postcode.

i have had a look around but cant seem to find a easy free way to do so..

Anyone else know how? or a script to do so, i know this might come under PHP more so if a mod thinks that please move

Thanks,
Dan
__________________
Discounted Web Hosting With XDnet!
>> Get 25% of hosting~ Promo: Webmaster-talk <<

Please login or register to view this content. Registration is FREE
dansgalaxy is offline
Reply With Quote
View Public Profile Visit dansgalaxy's homepage!
 
 
Register now for full access!
Old 02-27-2008, 07:42 PM Re: How to use AJAX to fill in (uk) address from post code?
vangogh's Avatar
Post Impressionist

Latest Blog Post:
Why Responsive Design?
Posts: 10,815
Name: Steven Bradley
Location: Boulder, Colorado
Trades: 0
You need to get a database of post codes and then when someone enters theirs your app looks up the rest of the information and fills in the form.

Basically the Ajax app responds to an onchange of a form input and makes the request to the database.
__________________
l Search Engine Friendly Web Design |
Please login or register to view this content. Registration is FREE

l Tips On Marketing, SEO, Design, and Development |
Please login or register to view this content. Registration is FREE

l
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
vangogh is offline
Reply With Quote
View Public Profile Visit vangogh's homepage!
 
Old 02-27-2008, 08:16 PM Re: How to use AJAX to fill in (uk) address from post code?
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,383
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
There isn't a complete free postcode database that I know of

Royal mail have the Postcode Address File (PAF) and for a server you need the System licence.

The client (a small travel agency) didn't bother ( can't imagine why not ) and decided that most people know their own address anyway.

Or you could email this guy http://www.alexnolan.net/onlinetools...codefinder.htm and see what dB he uses
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 02-28-2008, 07:01 AM Re: How to use AJAX to fill in (uk) address from post code?
dansgalaxy's Avatar
Defies a Status

Posts: 6,521
Name: Dan
Location: Swindon
Trades: 0
well thats sucks.

I know its not needed but i just want to try and get into the habbit and have a bit of fun learning Ajax technologies, and well show off a bit, it is a nice touch you have to agree.

Looked at that guys site and it seems to be rather inaccurate and picky...

Might just be me, i wil contact him when i get home and try and get some insight...

Thanks,
__________________
Discounted Web Hosting With XDnet!
>> Get 25% of hosting~ Promo: Webmaster-talk <<

Please login or register to view this content. Registration is FREE
dansgalaxy is offline
Reply With Quote
View Public Profile Visit dansgalaxy's homepage!
 
Old 02-28-2008, 05:04 PM Re: How to use AJAX to fill in (uk) address from post code?
vangogh's Avatar
Post Impressionist

Latest Blog Post:
Why Responsive Design?
Posts: 10,815
Name: Steven Bradley
Location: Boulder, Colorado
Trades: 0
I hear you Dan. I've thought of doing the same with all forms for the same reason. I think Chris is right that you won't find a complete and free database, but you might find one that doesn't cost too much or one that's sufficient for your needs.

If your goal is more to play you should be able to find a free, albeit incomplete database to work with.
__________________
l Search Engine Friendly Web Design |
Please login or register to view this content. Registration is FREE

l Tips On Marketing, SEO, Design, and Development |
Please login or register to view this content. Registration is FREE

l
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
vangogh is offline
Reply With Quote
View Public Profile Visit vangogh's homepage!
 
Reply     « Reply to How to use AJAX to fill in (uk) address from post code?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.27996 seconds with 12 queries