A user-friendly HTML5 Form validator for Bootstrap 3

Downloads in past


2,3931570.11.97 years ago9 years agoMinified + gzip package size for bootstrap-validator in KB


Validator, for Bootstrap 3
The Validator plugin offers automatic form validation configurable via mostly HTML5 standard attributes. It also provides an unobtrusive user experience, because nobody likes a naggy form.


  • Configurable via data-api and standard HTML5 attributes
  • Patient to inform user of errors and eager to let them know the errors have been resolved
  • Submit is disabled until the form is valid and all required fields are complete
  • Customizable error messages
  • Custom validator functions
  • Validation of an input field via AJAX


  • CDN on CDNJS:
  • Clone the repo: git clone
  • Install with Bower: bower install bootstrap-validator.
  • Install with npm: npm install bootstrap-validator.


See the project docs at


Found an issue?

Be sure to include a reproducible test case on JS Bin with your report. Here's a template to get started.

Submitting a pull request?

Fork this repo and create a new branch for your patch. Try to adhere to the code style of Bootstrap 3's JS as much as possible. Be sure to add any relevant unit tests. Make sure everything's still ok by running grunt test. Lastly, don't pollute your patch branch with any unrelated changes.


If you've found this project particularly useful and feel like giving a little back, you can donate what you want via PayPal or Square Cash.
Donate via PayPal Donate via Square Cash


Cina Saffary

Thanks to @mdo and @fat for Bootstrap. <3

Copyright and license

Copyright 2016 Cina Saffary under the MIT license.