Change input field background on validation error

When field validation fails, field label color is changed to red. Is there an option to change background color of the input filed itself instead?

Hi

Please check the demo
dhtmlx.com/docs/products/dht … vents.html

I did, but it does not show how to change background color of a text field. Is there a document that describes dhtmlx CSS class selectors?

In suggested demo just add bg color rule

.dhxlist_obj_dhx_skyblue .validate_error .dhxlist_txt_select {
background-color: lightgreen;

For input, use dhxlist_txt_textarea in rule name
.dhxlist_obj_dhx_skyblue .validate_error .dhxlist_txt_textarea {

}

Perfect, it works. Thank you! BTW, what selector should I use for password? I tried dhxlist_txt_password but that did not seem to work.

Hi

for pwd same as for input, dhxlist_txt_textarea

Yep, I had a different issue and thought that _textarea did not work for password fields. Thank you for your prompt responses!