Class SimpleID\Util\Forms\FormSubmitEvent

extends BaseEvent
implements GenericEventInterface, StoppableEventInterface, FormEventInterface
uses GenericEventTrait, StoppableEventTrait

A generic event used to process a submitted form. This includes validating whether the data submitted in a form is valid as well as processing submitted data.

If a validation error is encountered, call setInvalid() . Validation messages can be added using addMessage() .

This event implements StoppableEventInterface, which stops further processing of the form. The documentation of the specific event should specify when processing should be stopped - an invalid validation result is not sufficient reason for further processing to be stopped.

Methods
Methods used from SimpleID\Util\Events\GenericEventTrait
setEventName(), getEventName()
Methods used from SimpleID\Util\Events\StoppableEventTrait
isPropagationStopped(), stopPropagation()
Properties
Properties used from SimpleID\Util\Events\GenericEventTrait
$eventName
Properties used from SimpleID\Util\Events\StoppableEventTrait
$stopped