Share

From this page you can share JSValidate - Javascript Form Validation to a social bookmarking site or email a link to the page.
Social WebE-mail
Enter multiple addresses on separate lines or separate them with commas.
JSValidate - Javascript Form Validation
(Your Name) has forwarded a page to you from Ajaxonomy
(Your Name) thought you would like to see this page from the Ajaxonomy web site.

JSValidate - Javascript Form Validation

Tagged:  

JS Validate

JSValidate is a form validator that utilizes aspects of prototype and scriptaculous to bring you a simple to execute, non-intrusive javascript form validator. With minimal setup, your forms can be processing clean data in no time at all.

What sets JSValidate apart from other similar scripts is the simplicity of it's setup. Another important characteristic is the importance of browser compatibilty. JSValidate is run through very thorough browser tests to ensure it works on any platform with any browser.

Client-side form validation is great. It saves a trip to the server and it provides users with immediate feedback on the content the've entered into a form. JSValidate is a javascript library that can be incorporated in any of your existing forms, or any new forms, and can provide you with some slick Web 2.0 style validation (No More Alert Boxes!). After including the library in your page, it's as easy as assigning specific class names to your form elements to enable the validation. Here is a short list of the classes that can be assigned to your form fields:

jsrequired - Field must have some sort of value.
jsvalidate_number - Any integer; accepts decimal and negative
jsvalidate_digits - Only Numbers
jsvalidate_alpha - Only letters
jsvalidate_alphanum - Only letters, numbers, and underscores.
jsvalidate_email - Any valid email address.
jsvalidate_uscanzip - US or Canada Zip code; Accepts optional US zip + 4
jsvalidate_usstate - Any 2 letter uppercase state of the United States.
jsvalidate_usphone - US Phone Number, accepts most common formats.
jsvalidate_creditcard - Validates VISA, MasterCard, American Express; formats: no spaces, spaces, or dashes.
jsvalidate_ssn - Social Security Number in the format: XXXXXXXXX, XXX XX XXXX, or XXX-XX-XXXXX
select-notfirst - This class can be applied to select boxes (drop-downs). It prohibits the user from selecting the first option from the list.

Click here to visit the JSValidate Homepage.

Or Here to check out the demo