validate
Invokes validator function and validates the form.
Return
validation result
Parameters
mark Fields
determines if form fields should be labeled with error messages
Invokes validator for a single form field.
Return
validation result
Parameters
key
key identifier of the control
mark Field
determines if form field should be labeled with error messages