jqBootstrapValidation icon indicating copy to clipboard operation
jqBootstrapValidation copied to clipboard

Bootstrap v3.1.1 input error doesn´t work properly

Open bmonteiropt opened this issue 11 years ago • 4 comments

Hello i'm working with bootstrap v3.1.1 and i'm forced to change the code of jqBootstrapValidation. When i'm working with validations i see a sucess color, warning color but i dont see the error color (red color).

My jqBootstrapValidation.js -> https://drive.google.com/file/d/0B_iehlwuBu-YWVMxSUxjendObmc/edit?usp=sharing

Tnks for helping

bmonteiropt avatar May 22 '14 19:05 bmonteiropt

Hi. You have to replace all the 'error', 'warning' and 'success' classes with 'has-error', 'has-warning' and 'has-success'. I think, you've forgot some.

Fredo70 avatar May 27 '14 13:05 Fredo70

Hello Fredo70 tnks for answer. Yes I replace all the "names" and still has problem with error color.

bmonteiropt avatar Jun 02 '14 15:06 bmonteiropt

Hi. Points the link in your first post to the code you are using currently? If yes, there are two lines in the function 'init' (callback of 'submit.validationSubmit') where the old class 'error' is still used: $form.addClass("error"); $form.removeClass("error"); If no and you have already replaced these lines... sorry, I don't know.

Fredo70 avatar Jun 02 '14 16:06 Fredo70

i'm with the same problem , i'm using Bootstrap V 3.2.0

Eiglimar avatar Aug 27 '14 15:08 Eiglimar