VanadiumJS: A Powerful, Simple, and Intuitive Client-Side Validator

Posted on September 8, 2009, under JavaScript,  Bookmark it

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
vanadiumjs-password-fields

<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)

Do you wish to receive the latest updates as soon as they are posted? Get our RSS Feed or Subscribe to the Newsletter!

Get our RSS Feed!

4 Replies to "VanadiumJS: A Powerful, Simple, and Intuitive Client-Side Validator"

  1. [...] Read more:  VanadiumJS: A Powerful, Simple, and Intuitive Client-Side Validator [...]

  2. Hi,

    I’m the author of VanadiumJS toolkit. First of all many thanks for you interest. There is small mistake in the depencency inclusion code in this blog post.

    Instead of :
    <script src=”/js/vanadium-init.js” type=”text/javascript”/>

    It should be:
    <script src=”/js/vanadium.js” type=”text/javascript”>

    vanadium-init.js is just ‘source file’ which with many others constitute the whole VanadiumJS.

    The distributuion file is vanadium.js or it minified version vanadium-min.js

    Have look at http://github.com/lambder/Vanadium

    Cheers,
    Daniel
    .-= Daniel Kwiecinski’s last blog ..VanadiumJS.com is live !!! =-.

    1. I have updated the post. Thanks for letting me know!

  3. why is this exactly like: livevalidation: http://livevalidation.com/

    i havent tried it yet but hopefully it works since live validation hasnt been updated in ages!

Leave a Reply


* = required fields

  (will not be published)


XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Note: If you want to post CODE Snippets, please make them postable first!
(e.g. <br /> should be converted to &lt;br /&gt;)