JavaScript Form Validation With Validanguage
6
Jun
Validanguage is an object-oriented, unobtrusive JavaScript form validation library that does not rely on any JavaScript frameworks (optional Prototype integration).
It provides 2 APIs:
- HTML-like API placed inside comment tags. The choice for ease of use and simplicity.
- JSON-based API for advanced configuration.
With Validanguage, you can:
- use the pre-configured functions like
required,minlength,maxlength, etc. - easily configure custom validation functions to be triggered at onblur, onsubmit, onchange events.
- add onsuccess and onerror callback functions to integrate it into your existing site design.
- & more..
P.S. Thanks to Dan for the suggestion.
Requirements: No Requirements
Website: http://www.drlongghost.com/validanguage.php
Demo: http://www.drlongghost.com/vd_tests/vd_demo1.php
Website: http://www.drlongghost.com/validanguage.php
Demo: http://www.drlongghost.com/vd_tests/vd_demo1.php
- Tags:
API Javascript JSON
- Filed under: Forms, Goodies, MIT License




















3 Responses for "JavaScript Form Validation With Validanguage"
This seems pretty weak, compared to say the JQuery validation
http://bassistance.de/jquery-plugins/jquery-plugin-validation/
I don’t like the alerts, and I especially dislike how it won’t let you put in invalid characters, esp. since you don’t always know why that particular character is invalid.
explaining with an inline message on submit or timeout is much friendlier.
Just for the record…
Both the issues which Mike mentions above are options which can very easily be turned off.
Validanguage does support inline error messages and in a future release, these will become the default.
[...] Vía: WebResosurcesDepot [...]