bootstrap-validator
bootstrap-validator copied to clipboard
a custom function bug?
Custom functions do not support hump naming when using custom validation? my right custom function like as
custom: {
selectcheck: function ($el) {
// var matchValue = $el.data("selectcheck");
var selectValue = $el.val();
if (selectValue == "999" || selectValue == "") {
return "请选择您要选择的内容...";
}
}
}
the error is like as
custom: {
selectCheck: function ($el) {
// var matchValue = $el.data("selectcheck");
var selectValue = $el.val();
if (selectValue == "999" || selectValue == "") {
return "请选择您要选择的内容...";
}
}
}
the error code is do not work for the validate ?
@1000hz thinks !