OnValidate

OnValidate

Occurs during form validation. Code should return an array of errors (Field, Type, Control, Message}

Event Arguments:
form: pf.Form
args: pf.IValidationArgs

where pf.IValidationArgs:
export interface IValidationArgs {
Sender: any; Async: bool; Continue: (errors: IValidationError[]) => void
}

Returns:
any