Type key: multiple_choice. Renders a list of options with a letter or number badge in front of each one. Respondents pick one option, or several when select_options_selection is multiple. In the editor this is the Multi Choice block.
A question with options: the question rules and option rules apply, and it can sit in a layout row column.
Meta fields
Section titled “Meta fields”The meta fields of this node type are listed in the request body of Replace the draft document, under pages › nodes, in the multiple_choice tab.
Example
Section titled “Example”{ "public_id": "nTck", "sort_order": 1, "type": "multiple_choice", "meta": { "question": "<span>Ticket type</span>", "select_options_data": [ { "value": "general", "label": "General", "label_formatted": "<span>General</span>" }, { "value": "student", "label": "Student", "label_formatted": "<span>Student</span>" }, { "value": "speaker", "label": "Speaker", "label_formatted": "<span>Speaker</span>" } ], "select_options_selection": "single", "multiple_choice_variant": "alphabet", "validation": { "required": true } }}Defaults and rules
Section titled “Defaults and rules”- The defaults are
select_options_selection: "single",multiple_choice_variant: "alphabet"(A, B, C;numbergives 1, 2, 3), andselect_options_randomize: false. default_valueis one optionvalue, or an array of values whenselect_options_selectionismultiple.