bootstrap-validate表单验证 bootstrapvalidate是一款基于bootstrap3设计的表单字段验证插件,这里使用的版本是v0.5.2。 > 该插件只有v3版本。 github地址:https://github.com/nghuuphuoc/bootstrapvalidator 官网地址:http://bootstrapvalidator.com/ Api地址:http://bootstrapvalidator.votintsev.ru/api/  使用时,对css做了一些微调,所以需要增加以下的样式。 ```css .has-feedback label~.form-control-feedback { top: 28px; } .has-feedback label.lyear-checkbox~.form-control-feedback, .has-feedback label.lyear-radio~.form-control-feedback, .has-feedback label.lyear-switch~.form-control-feedback { top: 20px; } ``` 插件项目中页面名字:`test_bootstrap_validate.html` [点击查看 表单验证 在线演示](http://example.itshubao.com/example/95.html "点击查看 表单验证 在线演示") 涉及的文件: - `js/bootstrapvalidator/css/bootstrapValidator.min.css` - `js/bootstrapvalidator/js/bootstrapValidator.min.js`