Thanks to everyone for the ideas.
 
Steve Fogelson
Internet Commerce Solutions
-----Original Message-----
From: Steve Smith [mailto:[EMAIL PROTECTED]
Sent: Saturday, July 19, 2003 11:44 PM
To: [EMAIL PROTECTED]
Subject: Re: Witango-Talk: Zip code Validator

Canada Post (www.canadapost.ca) has a monthly subscription service available. I drilled down through the Business Products section to this page:


http://www.canadapost.ca/business/offerings/address_management/can/other_data-e.asp


where it provides more information. I think that Radio Shack is using this in their Point of Sale devices in their stores.


Canadian Postal codes are 6 characters that are letter-number-letter space number-letter-number. The first three characters are the Forward Sorting Address which designates the general area of the address. The first character designates the Province or Territory and the second and third designate the location within a town or city. Ontario is the largest Province and has postal codes starting with either K, L, M, N, or P. Most Provinces have only one letter.


So far I've only written routines that check to see that the data entered only contains letters and numbers, and that the length of the data is 6 characters. I use the <@KEEP> tag to strip out spaces and dashes that some people might enter. I suppose that it wouldn't be that difficult to add a routine to check for valid FSA's based on the user's selection for Province.


Hope this helps,


Steve Smith


Oakbridge Information Solutions

Office: (519) 624-4388

GTA: (416) 606-3885

Fax: (519) 624-3353

Cell: (416) 606-3885

Email: [EMAIL PROTECTED]

Web: http://www.oakbridge.ca


On Thursday, July 17, 2003, at 03:11 PM, Fogelson, Steve wrote:


Hi,


Looking for some simple US or Canada zip code validation. Either a snippet

of code or a TCF.


Could include any or all of the following:


1) Valid US 5 or 9 digit zip code

2) Valid Canada 6 digit code

3) Valid zip code for the selected state


Also is anyone doing anything with address validation by using one of the

services available in the US?


Thanks


Steve Fogelson

Internet Commerce Solutions


________________________________________________________________________

TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf



________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf

Reply via email to