validate

fun validate(scrollToFirstError: Boolean = true, includeHidden: Boolean = false, warningAsError: Boolean = false): List<ValidationError>

Validate the form and return a list of errors. It also scrolls the form view to the first error.

Return

a list of errors