Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
A user-friendly HTML5 form validation jQuery plugin for Bootstrap 3.

A quick and easy way to generate markup for mailto links without having to worry about the annoying formatting.
Bootstrap Validator is a jQuery plugin that adds automatic, HTML5-attribute-driven form validation to Bootstrap 3 forms. Created by Cina Saffary (GitHub user 1000hz), the plugin is designed to give users a non-naggy experience: errors appear unobtrusively and disappear as soon as they are fixed. It is open-source under the MIT license and can be installed via CDNJS, Bower, npm, or by cloning the repository from GitHub.
Bootstrap Validator is a client-side form validation plugin built specifically for Bootstrap 3 and jQuery. It takes an HTML form with validation rules expressed as standard HTML5 attributes (e.g., required, type, pattern) or via data-api attributes, and it produces real-time error messages and disabled submission until the form is valid. The project is hosted on GitHub, has approximately 2,352 stars, and is maintained by Cina Saffary.
After including jQuery, Bootstrap 3, and the validator script, you apply the plugin to a form via the data-api or by calling it programmatically. The plugin then parses the HTML5 and data attributes, validates on relevant events (such as input blur or form submit), toggles error messages, and keeps the submit button disabled until all checks pass. Full usage details are in the project documentation hosted at 1000hz.github.io/bootstrap-validator.
Yes, Bootstrap Validator is open-source and released under the MIT license. You can use, modify, and distribute it freely in personal and commercial projects without any cost.
No. The plugin is written specifically for Bootstrap 3's markup and JavaScript. The project was last updated in 2016 and does not support Bootstrap 4 or 5; you would need a different validation plugin for those versions.
Yes, the plugin includes AJAX validation support, letting you write a custom validator that checks a value asynchronously and returns a pass/fail result, which is ideal for checking data uniqueness.
You can load it from the CDNJS CDN, install it with Bower using bower install bootstrap-validator, install it with npm using npm install bootstrap-validator, or clone the repository to your project.
