VanadiumJS is a free powerful easy customizable client-side validator that supports AJAX and regular server-side response results. This unobtrusive AJAX-enabled server-side technology agnostic JavaScript validation toolkit is very easy to install: you just have to include the vanadium js file after the dependency.
<head> <script src="/js/jquery-latest.js" type="text/javascript"></script> <script src="/js/vanadium.js" type="text/javascript"></script> </head>
The validation rules are applied to the HTML form elements that have special markup classes (e.g. adding ‘:required’ to the elements’ classes).
Example 1
Password fields validation
<input id="pass" class=":required" type="password"> <input class=":same_as;pass" type="password">
Example 2
Delay the Vanadium reaction on user changes
<input class=":required :wait;500" type="text">
Features include:
- Unobtrusive
- AJAX-enabled
- Server-side Technology Agnostic
- Server-side Aware
- Support for declarative validation
- Using json structure
- Using inline markup
- Support for deferring validation (immediate validation of the element when its value has changed)
- Tested in: Firefox 3.5 (PC/Mac), Safari 2 (Mac), IE 6+, Opera 9 (PC/Mac)
- Project Home: http://lambder.com
- GIT Repository: http://github.com/lambder/Vanadium
- Demo: http://vanadiumjs.com/
- Download: Uncompressed | Minified
