Client side validation

Results 1 to 2 of 2

Thread: Client side validation

  1. #1
    Join Date
    Dec 1969

    Default Client side validation

    What is the difference between onsubmit events of form and submit buttons. Which is the better place to write Client side validation for a form. Also please expalin with example how to write a simple validation program which checks for mandatory user name and passwords by using both the methods.

  2. #2
    Join Date
    Dec 1969

    Default RE: Client side validation

    Here is an article that discusses the importance of client-side form validation, and demonstrates how to perform such validation using the ONSUBMIT event handler in the FORM tag.<BR><BR>Also, this article contains a lengthy and rich collection of JavaScript functions to validate different types of data.<BR><BR>Form Validation using JavaScript<BR><BR><BR>Happy programming!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts