jqBootstrapValidation
jqBootstrapValidation copied to clipboard
Prevent removing success class from inputs
As a user fills out the form, inputs which are valid are given the green .success class.
But once the user focuses on another input, that class is immediately removed (the label goes from green to black).
In the interest of user-friendliness, it would be better if there was a way to keep those inputs green as the user fills out the rest of the form.
Before:
Preferred:

Another feature request is to be able to override the CSS classes, which would simply mean storing them as options, ie:
submitError: false,
submitSuccess: false,
successClass: 'success',
warningClass: 'warning',
errorClass: 'error'
This way they aren't hardcoded all the way through the JS file.
:+1: I also would like to know how to keep the field validation success class applied.