Method Summary
Public Methods | ||
public |
formDidError(controller: FormController, errors: FormError[]) Called when the form attempts to submit. |
|
public |
formDidSubmit(controller: FormController) Called right after the form has submited (succesful validation) |
|
public |
formWillSubmit(controller: FormController): boolean Called right before the form will submit. |
Public Methods
public formDidError(controller: FormController, errors: FormError[]) source
Called when the form attempts to submit.
Params:
Name | Type | Attribute | Description |
controller | FormController | ||
errors | FormError[] |
public formDidSubmit(controller: FormController) source
Called right after the form has submited (succesful validation)
Params:
Name | Type | Attribute | Description |
controller | FormController |
public formWillSubmit(controller: FormController): boolean source
Called right before the form will submit.
Params:
Name | Type | Attribute | Description |
controller | FormController |