setValidateCss

sets CSS treatment of the form validation

void setValidateCss(string name,boolean state,string custom);

Parameters

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