bootstrapValidator enable某个Filed的单个特定校验器,如notEmpty

bootstrapValidator enable某个Filed的单个特定校验器,如notEmpty,

官方文档:http://bootstrapvalidator.votintsev.ru/settings/

中的bootstrapValidator('enableFieldValidators', fullName, 'notEmpty', true) 参数顺序错误

第三个参数应该和第四个参数调换顺序,正确格式如下:

bootstrapValidator('enableFieldValidators', fullName, true, 'notEmpty') 

原文地址:https://www.cnblogs.com/wangfan0840/p/6627495.html