Fires before a form submission is handled.
Description
If you add one or more errors to the submission, the rest of the handling is skipped, essentially making the submission fail.
Parameters
- $submission
-
(awsmug\Torro_Forms\DB_Objects\Submissions\Submission) (Optional) Submission object.
- $form
-
(awsmug\Torro_Forms\DB_Objects\Forms\Form) (Optional) Form object.
- $container
-
(awsmug\Torro_Forms\DB_Objects\Forms\Container) (Optional) Current container object.
- $data
-
(array) (Optional) Submission POST data.
Changelog
Version | Description |
---|---|
1.0.0 | Introduced. |