fun validate(markFields: Boolean = true): Boolean
Invokes validator function and validates the form.
markFields - determines if form fields should be labeled with error messages
markFields
Return validation result