Wrox Programmer Forums
|
Javascript How-To Ask your "How do I do this with Javascript?" questions here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Javascript How-To section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 10th, 2003, 05:01 PM
Authorized User
 
Join Date: Aug 2003
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default zip

hi all

    could you please tell me where can I find a script to validate a zip code against the state in USA . I want to detect if the zip code exists in state differs than the user selected already then I give him a message like "the zip code you provided does not exist in the selected state"

thanks

 
Old September 11th, 2003, 08:33 AM
Authorized User
 
Join Date: Jul 2003
Posts: 46
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to stalker Send a message via MSN to stalker
Default

hum.. go to the post office near you and ask for a zip code list
then script it yourself :)
since it's just a numbe you wont have problems :)

 
Old September 11th, 2003, 12:34 PM
Authorized User
 
Join Date: Jun 2003
Posts: 78
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Check this script, with a little modification it will do what you want

http://javascript.internet.com/forms/zip-to-state.html

Stéphane Lajoie





Similar Threads
Thread Thread Starter Forum Replies Last Post
Zip File Venkatesan General .NET 0 February 3rd, 2007 05:59 AM
Zip a folder vinugeorge .NET Framework 2.0 2 June 29th, 2005 06:33 AM
7337.zip donnarose60 BOOK: Beginning ASP.NET 1.0 2 June 12th, 2005 02:13 PM
Saving as zip ppenn Excel VBA 2 March 11th, 2004 05:15 PM
Zip File Exodus Access VBA 1 December 29th, 2003 11:45 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.