jquery - How to setup bootstrap validator to do not show message when an input value is not correct -
i setup bootstrap validator show red labels when input text not valid or required, cannot remove default message shown when input not valid.
i tried force message message: ' '
default message come out anyway.
this code:
$('#myform').bootstrapvalidator({ message: ' ', fields: { nome: { validators: { notempty: { } } } });
just found can done moving message: ' '
inside notempty
$('#myform').bootstrapvalidator({ fields: { nome: { validators: { notempty: { message: ' ' } } } });
Comments
Post a Comment