Based on the field status, the field and its container are marked as success or error
element. For Bootstrap form, the plugin will add has-success or
has-error class to the container element.
If you think that it's better to indicate error status only due to the similarity of
these status colors, you can remove has-success class from the container.
It can be done by triggering the success.field.fv
event as below:
Hiding success class and tick icon when field is empty
Based on this approach, it's possible to hide success icon and remove the success CSS
class from the container if the field is empty. You just simply change the
success.field.fv event handler a little bit: