sets CSS treatment of the form validation
| name | string | the item's name | 
| state | boolean | true/false (see the details) | 
| custom | string | the name of a CSS class to apply | 
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