# BootstrapValidate A jQuery plugin to validate form fields. Use with Bootstrap 3 The plugin uses [Bootstrap Tooltip](http://getbootstrap.com/javascript/#tooltips) to show the error message as following screenshot:  ## Features The plugin provides built-in validators which are listed below in alphabetical order: Validator name | Description ---------------|------------ digits | Return true if the value contains only digits emailAddress | Validate an email address greaterThan | Return true if the value is greater than or equals to given number identical | Check if the value is the same as one of particular field lessThan | Return true if the value is less than or equals to given number notEmpty | Check if the value is empty regexp | Check if the value matches given Javascript regular expression stringLength | Validate the length of a string uri | Validate an URL address ## Required * [jQuery](http://jquery.com/) * [Bootstrap 3](http://getbootstrap.com/) ## Demo You can see the live demo here: * [Sample demo](https://rawgithub.com/nghuuphuoc/bootstrapvalidate/master/demo/index.html) * [Validator examples](https://rawgithub.com/nghuuphuoc/bootstrapvalidate/master/demo/validators.html) ## Usage Since the BootstrapValidate plugin requires jQuery and Bootstrap 3, you have to include the required CSS and JS files to your page: ```html ``` Call the plugin to validate the form as following: ```javascript $(document).ready(function() { $(