Listing ID : 1425
Created on 2008-09-05 at 12:31 PM
Author : Archana Chadha [webmaster@search-scripts.com]
Online URL : http://www.search-scripts.com/scripts/javascript/scripts-and-programs/forms/javascript-form-validation.html
JavaScript can be used to verify & validate input data in HTML forms before sending the content to server. Client side form validation usually done with JavaScript. For the majority of your users, JavaScript form validation will save a lot of time up front. You can add validations quickly to your HTML form using this simple, easy to use, free form validation script.
Form Validation with JavaScript
This form validation script accompanies an HTML form. When the user clicks the Submit button on the form, the form data is sent to a JavaScript validation function that checks each aspect of the input to make sure that it is in the appropriate format. Each form element is evaluated according to specified criteria. If the script finds an error in one of the fields, it sends back a warning explaining cause of the error and how to fix it.
Using the Form Validation Script
All of the JavaScript form validation functions are included in a JavaScript file called validate.js, which can be called with the SRC attribute of a SCRIPT tag at the top of the form page. Or, if you wish, you can paste the contents of this file into the top of your HTML page.
| Resource Specifications | |
| Platform(s): | Linux,Windows,Mac OS |
| Database(s) | Non |
| Version: | 1 |
| File Size: | < 100KB |
| Date Added: | 2008-09-05 |
| Last Updated: | 2008-09-05 |
| License Information | |
| License Type: | Freeware |
| Price: | 0 USD |
| Visit: | http://developer.apple.com/internet/webcontent/validation.html |
| Download: | http://developer.apple.com/internet/webcontent/validation.html |