Skip to main content

Props

What gets submitted

The SDK posts JSON to the endpoint, keyed by field id. Only fields visible at submit time are sent (statements are skipped), and unanswered fields are sent as "". If the schema sets settings.source, it’s sent as _source.

Things to know

  • CAPTCHA: the SDK doesn’t send a CAPTCHA token. If the form has a CAPTCHA secret set, every SDK submission fails with CAPTCHA verification required. Use the honeypot or allowed origins instead.
  • Allowed origins: if the form restricts origins, pages on other origins can’t load the schema and the component shows its error state.
  • Redirects: the form’s redirect URL is followed only when the thank-you screen is enabled, after its delay (default 3 seconds). Otherwise use onComplete.

Theme merging

Top-level theme keys replace the schema’s. Nested objects aren’t merged: passing colors replaces the schema’s whole colors object, and any color you leave out falls back to the SDK default, not the schema’s value. Include every color you want to keep.

Examples

Full-screen conversational form

Embedded classic form

Error handling

Custom loading and error states