Submissions, Workflows & Exports
Every saved submission is stored in its form’s compiled forms-sub-{slug} Entries blueprint and managed from Setup -> Forms -> Submissions.
Table & Kanban Workflows
Section titled “Table & Kanban Workflows”- Table & Kanban Views: Toggle between dense tabular columns and a drag-and-drop Kanban board (
MarkupReactKanban.js) grouped by workflow status. - Multilingual Workflow Labels (
forms-statuses): Four built-in statuses (New,In Progress,Resolved,Spam) are seeded automatically and customizable under Setup -> Forms -> Labels. - Querying Submissions in PHP:
<?php namespace ProcessWire;
$forms = Forms::requireInstance($wire);
$recent = $forms->submissions('charter-inquiry', 'sort=-created, limit=50');$total = $forms->countSubmissions('charter-inquiry', 'workflow_status=new');Streaming Multi-Format Exports (SubmissionExporter)
Section titled “Streaming Multi-Format Exports (SubmissionExporter)”Export submissions interactively from Setup -> Forms -> Submissions (?export=csv|xlsx|json|xml|txt or ?export_profile=...), programmatically in PHP, or automatically via Export Profiles and RunScheduledExportsTask:
<?php namespace ProcessWire;
$exporter = Forms::requireInstance($wire)->exporter();
// Constant-memory streaming export to site/assets/cache/Forms/exports/$filePath = $exporter->exportToFile('charter-inquiry', 'xlsx', [ 'status' => 'new', 'use_option_labels' => true, 'limit' => 500,]);
// Profile-driven scheduled export$profileFile = $exporter->exportByProfileToFile('weekly-charter-leads');
// Clean up temporary export file after streaming or emailing$exporter->cleanupExportFile($filePath);SubmissionExporter automatically excludes password and sensitive columns so secrets are never written into downloadable spreadsheets.
Element Mapping & Maintenance Automation
Section titled “Element Mapping & Maintenance Automation”- Element Mapping (
Forms::executeElementMapping): Map submitted form fields directly onto new ProcessWire Pages orEntriesitems duringSubmissionPipeline::submit(). - Scheduled Maintenance (
FormsMaintenanceRunner):PruneFormSubmissionsTask: Removes expired submissions and stale staged uploads nightly according to per-form retention policies ($forms->pruneExpiredSubmissions()).SendFormsDigestTask: Sends daily or weekly submission summary digests ($forms->sendDigestSummary()).RunScheduledExportsTask: Executes recurring export profiles ($forms->runScheduledExports()).MonitorFormsHealthTask: Runs deduplicated diagnostics and alerts administrators on repeated delivery failures ($forms->runHealthCheck()).