Jim: I use jquery to accomplish simple ajax calls like this. Once an
onChange event is detected on your zipcode field, you can call up a cf
template that contains a zip code query to your database. If it returns a
city name, then returned data can be placed on your city field.

Here's an example that's been out there for awhile now, but I think it'll
still give you a good idea.
http://www.365labs.net/cf_jquery/jquery_coldfusion_quickstart.htm



> -----Original Message-----
> From: James Blaha [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, April 16, 2008 2:56 PM
> To: CF-Talk
> Subject: Re: CF8 - Auto Populate a city text field based on zip code
> field?
> 
> Hi Mike,
> 
> I have all the zip/city info in a table already. When a user enters a zip
> code and leaves the text box do you know how to auto populate the city
> text field?
> 
> -Jim


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:303646
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to