https://github.com/pascalebeier/bootstrap-validate
A simple Form Validation Utility for Bootstrap 3 and Bootstrap 4 for Humans.
https://github.com/pascalebeier/bootstrap-validate
bootstrap bootstrap-3 bootstrap-4 bootstrap3 bootstrap4 form form-validation jquery validate validation webpack
Last synced: 8 days ago
JSON representation
A simple Form Validation Utility for Bootstrap 3 and Bootstrap 4 for Humans.
- Host: GitHub
- URL: https://github.com/pascalebeier/bootstrap-validate
- Owner: PascaleBeier
- License: mit
- Created: 2017-06-05T14:51:44.000Z (almost 8 years ago)
- Default Branch: main
- Last Pushed: 2025-04-18T22:59:23.000Z (17 days ago)
- Last Synced: 2025-04-27T07:45:27.548Z (8 days ago)
- Topics: bootstrap, bootstrap-3, bootstrap-4, bootstrap3, bootstrap4, form, form-validation, jquery, validate, validation, webpack
- Language: HTML
- Homepage: https://bootstrap-validate.js.org
- Size: 20.4 MB
- Stars: 135
- Watchers: 4
- Forks: 53
- Open Issues: 19
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE.md
- Security: SECURITY.md
Awesome Lists containing this project
README
# bootstrap-validate




> A simple Form Validation Utility for Bootstrap 3, Bootstrap 4 for Humans.
[](#)
## Supported Versions
| bootstrap-validate Version | Bootstrap Version | Documentation |
-----------------------------|-------------------|-------------------------------
| v1 | Bootstrap 3 | [v1 Download + Docs](https://bootstrap-validate.js.org/v1) |
| v2 | Bootstrap 4 | [v2 Download + Docs](https://bootstrap-validate.js.org/v2) |## Documentation
Read the Documentation at [bootstrap-validate.js.org]().
## Quick Start
```bash
$ npm i bootstrap-validate
```Include the bootstrap-validate.js script:
```html
```
We want the `#name` to be not longer than 30 characters!
```html
Enter a Name
bootstrapValidate('#name', 'max:30:Your name must not be longer than 30 characters');
```
Validating an `#email` address couldn't be easier!
```html
Enter your E-Mail
bootstrapValidate('#email', 'email:Enter a valid email address');
```
## More Features!
See the v2 Documentation on to
see all available validation features, examples, and usage with module bundlers.## Examples
See [examples/](Examples) for real-world usage.
## Download
You can find current Releases under [Releases]() and
older Releases for Bootstrap 3 and Bootstrap 4 in the [Download Archive](https://bootstrap-validate.js.org/v2/download.html).## Changelog
See [CHANGELOG](CHANGELOG.md).
## Tests
Validation Rules are at least unit-tested. Use `npm test` to spin up the test suites.
## LicenseLicensed under the MIT License, see [LICENSE](LICENSE.md).