Skip to content
Join our Slack

Switch

Type key: switch. Renders an on/off toggle for a single yes-or-no statement. In the editor this is the Switch block.

A question: the question rules apply, and it can sit in a layout row column.

The meta fields of this node type are listed in the request body of Replace the draft document, under pages › nodes, in the switch tab.

A minimal Switch node
{
"public_id": "nNws",
"sort_order": 1,
"type": "switch",
"meta": {
"question": "<span>Send me event updates</span>",
"validation": {
"required": false
}
}
}
  • A required switch must be turned on before respondents can continue.
  • default_value is a boolean; true renders the switch on.
  • placeholder is accepted but not shown to respondents.

Your next form could be the best-looking thing on your site.

Free forever. Unlimited responses. No signup to start.