GValidator Form Validation Library
Introduction
GValidator is a lightweight javascript form validation library that automatically adds client-side validation to form elements, without needing to write a single line of javascript.
The aims of the project are to provide the following:
- A user-friendly experience
- A reusable and lightweight library
- Semantically clean code
- Web Standards compliant code
- Cross browser compatibility
- Code flexibility and extensibility
- Promote adoption via ease of use
To use the library without customization, all you need to do is include it.
Other features:
- Easy Internationalization
- Simple plug-in mechanism for new validators, should you want to extend functionality
- Easily configurable
- No dependencies on other libraries such as JQuery, Mootools etc.
Documentation
Find more about GValidator, including the design and documentation at http://www.onegeek.com.au/javascript-form-validation
Latest Changes
Version 0.4.30
- Bug fix ( Issue 4 ). Generic text field did not take 'required' flag into consideration, and is now more closely related to AbstractTextField, in that it has a universal 'this.regex' predicate.
Version 0.4.25
- GValidator now resets along with a native DOM form reset.
Version 0.4.20
- Ability to set a field as required using html class 'required'.
- Ability to add multiple class names to a field without interupting GValidator.