klm10
klm10

Reputation: 387

Twitter Bootstrap Validator: Only display red error css

I'm using Bootstrap Validator with my forms and would like to only show the visual cues when a input box is invalid not when values are valid (green). Is there a way to customize the validator css. I tried removing the valid code from the css/js file but it negates any css coloring.

See picture below:

enter image description here

Upvotes: 1

Views: 2799

Answers (1)

Tony Chen
Tony Chen

Reputation: 501

I don't quite understand what you mean.

Maybe you can override these css code below or delete them in bootstrap.css

.has-success .form-control{ border-color:inherit !important;}
.has-success .form-control:focus { border-color:inherit !important;}

pic about the class

Upvotes: 2

Related Questions