A simple but important application of CDXZip Stream is testing zip code validity.Particularly when dealing with large address lists, CDXZip Stream can quickly and easily eliminate the inconvenience and cost associated with invalid or improperly entered zip codes.In this case CDXZip Stream will automatically add a leading zero to any four digit input, as shown below: You may want to consider formatting any cells containing input zip codes as text to retain leading zeros and avoid confusion.
Then, dump in the following code: Finally, notice that line 2 of the code references "zipcode". If you don't name your question "zipcode," make sure you change this bit of code to match what you are using.
If you choose to participate, the online survey will be presented to you when you leave the Msdn Web site.
**** This one is fairly similar to what we’ve done in the past.
There are several interesting scripting validation techniques that can be demonstrated in the context of a Canadian postal code field.
While the subject domain is fairly specific, the techniques used are applicable to other field validations.