Skip to content

Why Forms?

Hand-coded PHP form handlers start small, then quickly accumulate fragile validation, CSRF edge cases, file upload security bugs, spam floods, and ad-hoc CSV export scripts. Hosted form SaaS tools, meanwhile, lock customer data outside your ProcessWire database and break styling and GDPR workflows.

Capability Custom PHP Scripts ProcessWire Forms
Schema & authoring Hardcoded HTML + PHP validation arrays Visual drag-and-drop builder (dist/FormsBuilder.js) and Git-friendly site/forms/*.{yaml,yml,php} blueprints
Field catalog & logic Manual inputs and ad-hoc JS 45 typed fields (FormFieldDefinition::SUPPORTED_TYPES), multi-step branching (skipIf, submitIf, gotoStep), ConditionBuilder, and zero-eval() CalculationEvaluator
Security & spam defense Basic CSRF or single honeypot Honeypot + SignedStateCodec timestamps + JS challenge + pluggable CAPTCHA + atomic forms_nonces / forms_rate_limits tables + FieldValueCipher (enc:forms:v1:)
Submission management Raw database table or email-only inbox Compiled forms-sub-{slug} Entries blueprints with Table/Kanban viewports, multilingual forms-statuses workflow labels, PDF generation, and streaming CSV/XLSX/JSON/XML/TXT exports
Embeds & headless Rewrite controllers for SPA or cross-site widgets Built-in /_forms/embed/*.js, /_forms/ajax/*, FieldtypeForms (InertiaFieldtypeInterface), and /api/v1/forms/* via Headless
Ecosystem integration Manual glue code per module Native optional integrations with Ai, Currency, Payments, Contacts, Campaign, Headless, and Media Private Vault

Next steps