System:Form:error

From Aspen Documentation

Returns a boolean whether there is a form validation error. Errors may be added by using the addError function.

Since 1.0

Arguments

boolean error ()

Returns

Returns boolean, true if errors exist.

Examples

Example:

$this->APP->form->error();