EchoEcho.Com Homepage
Web Hosting - As Reliable As It Gets!
   Home > Tutorials > Javascript > Advanced


 Tutorials 
 D-Zine Articles 
 Online Tools 
 Free Resources 
 References 
 Quiz 
 Hosting 

















  Form Validation :
THE TECHNIQUE








The javascript to validate inputs to a form consists of four different functions:

  • emailvalidation
  • will check to see if a value lives up to the general syntax of an email.

  • valuevalidation
  • will check to see if a value is within a certain interval.

  • digitvalidation
  • will check to see if a value consits of a certain number of digits.

  • emptyvalidation
  • will check to see if a field is empty or not.

The validation can take place as the visitor enters values, or all at once upon clicking the submit button after entering the values.

Each validation function can easily be customized to fit the needs of the fields they are checking.


 << PREVIOUS
READ MORE >>  
















DEVELOPER TIP!
FACT:
None of the leading search engines will crawl pages based on framesets.
TIP:
Offer visitors a non-framed option.
If for nothing else: to make sure your pages get listed with the search engines!





     "Better Than Books - As Easy As It Gets!"


On EchoEcho: D-Zine Articles | Tutorials | Online Tools | Free Resources | References | Quiz | HostingAbout EchoEcho