#111734Add StoreSubmission finisher
Description
Add a finisher StoreSubmission that stores each submission as a record in a new table form_submission:
- Options storagePid (default: the current page), retentionPeriod (days, stored as expires) and storeUploads (uploads referenced through a type=file field).
- Values are stored as a versioned JSON payload with type, label, raw value and display value per element, so a submission can be read without its form definition.
- Disabled elements are not stored. Neither are elements with the rendering option excludeFromSubmissionStorage, which core sets for Password, AdvancedPassword, Honeypot, StaticText and ContentElement.
- The finisher can be configured in the form editor.
- The PSR-14 event BeforeFormSubmissionIsStoredEvent allows listeners to modify the record or skip storage.
Reviews 3
History 04
-
Gerrit Code Review pushed patch set 1 for main to change 98362 status
NewUnder Review 12/05/26, 12:44 -
Gerrit Code Review pushed patch set 2 for main to change 98362 12/05/26, 14:03
-
Gerrit Code Review pushed patch set 3 for main to change 98362 12/05/26, 14:25
-
Gerrit Code Review pushed patch set 4 for main to change 98362 12/05/26, 15:06