Skip to content

Radio Group Question Schema Properties

A question that allows respondents to select a single option from a list of radio buttons.

Element type: radiogroup Key properties: 14

  • Aliases: radio buttons, single choice, option buttons.
  • Use when: respondents choose exactly one visible option.
  • Recommended properties: type, name, title, choices, showOtherItem, isRequired.
{ "type": "radiogroup", "name": "priority", "title": "Priority", "choices": ["Low", "Medium", "High"] }

  • Type: choiceitem[]
  • Default: []

Gets or sets choice items. This property accepts an array of objects with the following structure:

  • Type: restfull
  • Default:

Configures access to a RESTful service that returns choice items. Refer to the ChoicesRestful class description for more information. You can also specify additional application-wide settings using the settings.web object.

  • Type: question_carryforward
  • Default:

Copies choice items from a specified question. Accepts a question name.

  • Type: string
  • Default: "all"
  • Allowed values: all, selected, unselected

Specifies which choice items to copy from another question. Applies only when the choicesFromQuestion property is specified.

  • Type: condition
  • Default:

A Boolean expression that is evaluated against each choice item. If the expression evaluates to false, the choice item becomes hidden.

  • Type: condition
  • Default:

A Boolean expression that is evaluated against each choice item. If the expression evaluates to false, the choice item becomes read-only.

  • Type: string
  • Default: "none"
  • Allowed values: none, asc, desc, random

Specifies the sort order of choice items.

  • Type: boolean
  • Default:

Specifies whether to display a button that clears the question value.

  • Type: number
  • Default: 1
  • Allowed values: 0, 1, 2, 3, 4, 5

Gets or sets the number of columns used to arrange choice items.

  • Type: boolean
  • Default:

Specifies whether to display the “Other” choice item.

  • Type: boolean
  • Default:

Specifies whether to display the “None” choice item.

  • Type: switch
  • Default:

Specifies whether to display a comment area.

  • Type: boolean
  • Default:

Displays the “Select All”, “None”, and “Other” choices on individual rows.

  • Type: boolean
  • Default:

Specifies whether to hide the question if no choice items are visible.

This page lists only properties that are specific to this element type or especially important for generation.

  • Use Shared Question Properties for common fields such as name, title, description, isRequired, requiredIf, visibleIf, enableIf, readOnly, defaultValue, validators, width, and layout options.
  • Use Shared Choice Question Properties for shared choice fields such as choices, choicesByUrl, choicesFromQuestion, showOtherItem, showNoneItem, and special choice labels.
  • Use Choice Item for object choices and Choices By URL for remote choice loading.