★ wanayoo — archive 1999 http://javascript.about.com/compute/javascript/msub_scripts_validation.htmNouvelle recherche | Portail wanayoo
   You are here:    About.Com > Computing/Technology > Focus on JavaScript > Net Links
spacer
shadow
shadow
spacer Home
Tue, Feb  29,  2000
spacer
graphic
Join Free
Your Guide Nate Kassebaum - your About.com Guide to:
Focus on JavaScript

Content: Welcome | Netlinks | Articles | Guide Bio | Search | Related
TalkAbout: Forums | Chat | Events | Newsletter | Share This Site | Join
Shopping: ShopNow | Books | Videos | Jobs | ShoppingAbout

Scripts - Form Validation

Basic Validation
A simple way to require visitors to fill out certain fields.

Calendar Pop-Up
A pop-up calendar to assist users in entering dates in forms. This has definately got class.
Requires Netscape 2.0+ or Internet Explorer 4.0+.

Check E-Mail
Use Javascript to ensure that e-mail addresses provided in a form submission contain a prefix, the '@' sign, and an appropriate suffix .

Country Chooser
If you'd like to know where visitors to your site live, add this to your feedback forms. They just choose a region, and the second menu changes appropriately, allowing them to choose their country. (If they choose USA, it allows them to select their state)

Date Menu
Users get a pulldown menu containing the entire month and the current day is already selected.

Date Validation
This particular JavaScript is very useful as a preliminary check for form submissions.

Email Address Check
Loosly checks a form field for a valid email address.
Requires Netscape 2.0+ or Internet Explorer 3.0+.

Initial Caps
Use Javascript to convert entries to Initial Caps.

Max Entry
Make sure your visitor doesn't exceed the maximum number of characters that you want to accept in a form.

Max Number of Characters Check
Checks a form field for a maximum number of characters.
Requires Netscape 2.0+ or Internet Explorer 3.0+.

Max Number of Words Check
Checks for a maximum number of words in a form field. 
Requires Netscape 3.0+ or Internet Explorer 4.0+.

Menu Swapper
A clever way to move selected items from one list box to another.

No Entry
Use JavaScript to ensure that visitors do not leave a form entry blank.

No HTML
Use JavaScript to ensure that visitors do not type in HTML entries.

Password Verifier
Keep your visitors from submitting their form until their password and re-enter password fields match.

Select Validation
Use JavaScript to ensure that visitors choose both a radio button and a checkbox.

Smut Engine
Use JavaScript to ensure that forms submissions to do not contain words you don't want.

Validating a Form
A plain and simple form validator.
Requires Netscape 2.0+.

Return to NetLinks Menu Page

About.com Related About.com GuideSites
  • Focus on Java
  • Focus on Web3D
  • HTML
  • Intranets
  •  
  • Perl
  • Personal Web Pages
  • Web Design
  • XML
  •  
    About.com Elsewhere on About.com
    What's New, What's Hot
  • Breaking News
  • Spay Day 2000
  • California Skiing Guide
  •   JustAbout
  • Quit Smoking
  • Healthy Living
  • Twisted Travel

  • search Search
      
    This Site About.com
    Share This Site With a Friend (enter their email address below):

       

    Top of Page

    spacer
    In Partnership With TechWeb
    TechWeb News
     TechWeb News
    Cyber Guru Favors Regulated Open Access

    Windows 2000 Aces Transaction Processing Test

    IBM Will Ship PCs With 256-Bit Encryption
    Top Downloads
     Free Downloads
     


    Marketplace

    ShoppingAbout

    Find a Friend BookStore Build a Web Page Finance Channel Send a card! Sweepstakes
    shadow
    shadow

    shadow
    shadow

    © 2000 About.com, Inc. All rights reserved.
    ©   2000 About.com, Inc. "MiningCo.com" and "About.com" are trademarks of About.com, Inc.,
    a publicly traded company listed on NASDAQ under the symbol "BOUT."
    For more information on About.com, visit Our Story, Be a Guide, Be an Advertiser, or Investor Relations.
    For rules of use, read our User Agreement; for privacy concerns, read our Privacy Policy.
    Having a Problem? Report it here.