System:Form:isSubmitted

From Aspen Documentation

Detects if a form is submitted by looking for an array of POST or GET. If using GET, you must state that via the argument.

Since 1.0

Arguments

boolean isSubmitted ([string $method = 'post'])

method
Whether to detect post or get data.

Returns

Returns boolean, true if post or get values detected.


Examples

Example:

$this->APP->form->isSubmitted()'