Topic: How to change the color of input border and othe form elements on validation

jumpshotink priority asked 2 weeks ago


When a field is validated, the border and label turns green. Is there a simple way to change the color or to leave it as the original color?

Thanks.


Kamila Pieńkowska staff answered 2 weeks ago


There is no simple way to change color. You can overwrite color of all styles that are applied if you want to customize them.

But if you don't want visual representation of validation you can rely on browser default validation like in this example: https://mdbootstrap.com/docs/standard/forms/validation/?#section-browser-defaults



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue

  • ForumUser: Priority
  • Premium support: Yes
  • Technology: MDB Standard
  • MDB Version: MDB5 8.2.0
  • Device: Desktop
  • Browser: Firefox
  • OS: Mac OS 14.5
  • Provided sample code: No
  • Provided link: No