Hi Jim:  One option is to use the GeoNames.org webservice to return the
zip's info.  Place that on a cfc that is called via ajax using cf8's ajax or
other a js library such as jquery.

Geonames example:
http://ws.geonames.org/postalCodeSearch?postalcode=94101&country=us



> -----Original Message-----
> From: James Blaha [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, April 16, 2008 1:20 PM
> To: CF-Talk
> Subject: CF8 - Auto Populate a city text field based on zip code field?
> 
> All,
> 
> I have a cfform with an auto populate city text field that populates based
> off a query going to a city/zip validation table. My user just asked me if
> I could also populate the city text field with text if the user enters a
> zip code first.
> 
> Is there an easy way to do this?
> 
> -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:303625
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to