Skip to main content
Version: 1.28 (Current)

Add Radio Boxes

Audience: Low-code Engineers

Skill Prerequisites: Forms, Tokens

Adds a group of radio buttons, where users pick one option, to a Dynamic Field Container when the form loads. The options can also be shown as buttons. It works like a Radio Boxes field placed in the form builder.

See Dynamic Fields for how dynamic fields work and how to set up the container.

Typical Use Cases​

  • Ask a question with a few answers for each item in a list, for example Yes, No or Not sure
  • Show a choice as a row of buttons, for example Approve or Reject

Don't use it to​

Action NameDescription
Add DropdownShows the options in a dropdown.
Add Checkbox ListAllows several selections.

Input Parameter Reference​

This action has the common parameters, except Secure Input and Readonly, and the list parameters, including Link To. It also has:

ParameterDescriptionSupports TokensDefaultRequired
Display HorizontallyEnter true to show the options side by side instead of one per line.Yesempty stringNo
Radio ButtonsEnter true to show the options as buttons instead of radio circles. The four settings below only apply when it's true.Yesempty stringNo
Radio Buttons CSS ClassesCSS classes for the buttons.Nobtn btn-outline-primaryNo
Radio Buttons stylesInline styles for the buttons.Noempty stringNo
Word between buttonsText shown between the buttons.NoorNo
Word stylesInline styles for the text between the buttons. Use px for font sizes.Noempty stringNo

Set Initial Value to the value of the option to select when the form loads.

Output Parameters Reference​

ParameterDescription
Field ID Token NameOptional. Token that receives the cleaned field ID. If empty, the ID is saved in [<FieldId>:Name].

When the form is submitted, the selected value is available in [<FieldId>].

Examples​

tip

To understand how to use the below examples, please see Running Examples.

1. Add a Yes/No question for each list entry​

Put this action inside an Execute Actions for each List Entry that loops over a Questions list with Id and Text columns, in the form's On PreInit or On Init actions. It adds a required horizontal Yes/No question for each entry.

{
"Title": "Add Radio Boxes",
"ActionType": "AddMultipleChoiceWithRadioButtons",
"Description": "Add a question",
"Condition": null,
"Parameters": {
"ContainerId": "Survey",
"FieldId": "Q[Questions:Id]",
"FieldName": "[Questions:Text]",
"InitialValue": "",
"Horizontal": "true",
"RadioType": "false",
"DataSource": {
"Expression": "",
"Value": "Items",
"IsExpression": false,
"Items": "Yes|yes\nNo|no"
},
"TokenizeParameters": true,
"LinkToFields": "",
"IsRequired": "true",
"FieldIdTokenName": ""
}
}

Revised 09/25/2026