Check documentation for the latest version of dhtmlxSuite setValidateCss DHTMLX Docs

setValidateCss

sets CSS treatment of the form validation

void setValidateCss(string name,boolean state,string custom);
namestringthe item's name
statebooleantrue/false (see the details)
customstringthe name of a CSS class to apply
Details

The state param defines whether the CSS class should be applied to the items validated successfully (true) or to the items which failed the validation (false).

Back to top