• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 6. Validating Forms > Validating Zip Codes

Validating Zip Codes

Those wacky users can type almost anything into a form, so you'll want to make sure that Zip code fields ( Figure 6.9 ) contain only numbers. Script 6.6 shows you how.

Figure 6.9. You can make sure that the user either enters a Zip code or makes a selection from the scrolling list.



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint