Vanadium - Simple Yet Powerful Client Side Validation

Vanadium is JavaScript validation toolkit that makes client-side validation easy. Validation rules are applied to HTML elements by adding special markup classes. E.g. adding ‘:required’ to element’s classes. Vanadium makes the element being validated against provided value. Instead of markup, one can use external definition provided as json structure. It is Ajax enabled in that sense one can declare particular field being validated by the result of the server response.

vanadium Vanadium   Simple Yet Powerful Client Side Validation

E.g. adding ‘:ajax;/path_on_serve/user_exists.json’ to element’s classes will cause any change to value of that element being sent to server as request. The response is expected to be json structure in the form of: {success: (true/false), [message: (MESSAGE_TEXT)], [advice_id: (ID_OF_THE_HTML_ELEMENT_USED_FOR_INJECTING_THE_MESSAGE)]}.

Vanadium is compatible with JQuery 1.3.2 (will be using other JS toolkits as well soon) and have been tested in: Firefox 3.5 (PC/Mac), Safari 2 (Mac), IE 6+, Opera 9 (PC/Mac).

Requirements: jQuery Framework
Demo: http://vanadiumjs.com
License: Free License

Incoming search terms for the article:

Related Posts

Lazy Line Painter

How to Code a Clean Web 2.0 Style Web Design from Photoshop

Calendario: A Responsive jQuery Calendar Plugin

Flare: A Responsive Mobile-Optimized Lightbox Plugin