Form wrapper. Children are FormElement nodes. Wires submission via the SDK's registerSubmissionHandler pattern (the host app provides the concrete handler at boot — init() registers a handler that POSTs to /api/submissions).
Form wrapper. Children are FormElement nodes. Wires submission via the SDK's registerSubmissionHandler pattern (the host app provides the concrete handler at boot — init() registers a handler that POSTs to /api/submissions).
| Prop | Notes |
|---|---|
action | Form submission URL. |
method | GET or POST (default POST). |
submissionType | "" | "iframe" | "save" | "emailSave" | "custom". custom posts to a custom endpoint (used by site-customer magic-link). |
formName | Identifier for received submissions. |
mailTo | Email recipient for built-in submission handler. |
webhookUrl | Optional webhook for the submission. |
attrs, handlers | Standard. |
Children: FormElement only.
type: "form" — when you need raw <form action method> with no SDK wiring (rare).<form> itself — each FormElement declares props.stateBinding: { key: "url:<name>", mode?: "checked", debounceMs?: 200 } and the URL ↔ state bridge handles the round-trip. See FormElement docs and data-bindings.bg-base-100 cards — see FormElement gotchas.