Easy validation with jqBootstrapValidation

A jQuery plugin for easy form validation, using Twitter Bootstrap.

This jQuery plugin makes easy creating a validation framework for HTML5 forms.


How to use it:

1. Include jQuery script and the library:

<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<script src="/js/jqBootstrapValidation.js"></script>

2. Apply the plugin to elements you want to validate:

$(function () { $("input,select,textarea").not("[type=submit]").jqBootstrapValidation(); } );

And then, the plugin will scan for HTML5 validator attributes directly on the elements, plus any extra options specified via data attributes.

Demo, docs and download:


Create form validation easy, on client-side.

Let’s *check* it!