Not maintained!
I don't work for the company this library was developed for. Also, it lacks some major features like possible ajax integrations and flexibility.
I advise you to use other Software, e.g. the excellent https://github.com/jquery-validation/jquery-validation
bootstrap-validate
A simple Form Validation Utility for Bootstrap 3 and 4 which does not depend on jQuery.
Supported Versions
- v2: Bootstrap 4
- v1: Bootstrap 3
Documentation
Read the Documentation at bootstrap-validate.js.org
which resides below docs
.
Usage
- Include the bootstrap-validate.js script:
- Setup Validation for your Input Elements:
Imagine the following HTML:
Enter a Name
Now you want a Name to be at max 30 characters long and add the following:
;
Validating an email address couldn't be easier!
Enter your E-Mail
Download
You can find current and previous Downloads in our Download Archive.
Changelog
See CHANGELOG.
Tests
Tests are located under __tests__/
.
After installing all dependencies you may run yarn test
or npm run test
to spin up Jest-powered tests.
License
Licensed under the MIT License, see LICENSE.