Provide a compact set of single-select options in a screen flow to save screen space.
The options appear in a horizontally stacked button format on desktops and a vertically stacked
button format on mobile devices.
Required Editions
Configure the Radio Buttons Component
| Attribute |
Description |
| Label |
The text that appears above the component. |
|
API Name
|
The API name of the component.
An API name can include underscores and alphanumeric characters without spaces.
It must begin with a letter and can’t end with an underscore. It also can’t have
two consecutive underscores.
|
| Require |
Requires users to select an option before they can move to the next screen |
| Disabled |
If set to true, the user can’t
modify the value. The default value is false.
This attribute accepts a resource
with a Boolean value.
|
| Let Users
Select Multiple Options |
Specifies whether the user can choose only one option or multiple options.
When Let
Users Select Multiple Options is true, valid values for the Component Type dropdown list
are Checkbox Group and Multi-Select Picklist.
When Let Users Select Multiple Options
is false, valid values for the Component Type dropdown list are Picklist, Radio Buttons,
and Radio Button Group.
|
| Choice |
Add one or more static choice resources. The Radio Button Group component accepts
choice resources of only the text data type. You can’t reorder choices or add the same
choice twice. |
| Default Value |
Pre-selected choice for the
component. If the associated screen isn’t run or the conditions for component
visibility aren’t met, the stored value of the component is
null. |
Set Component Visibility
Specify the logic that determines when the flow displays the component.
| Option |
description |
| When to Display Component |
Configure when the component is displayed by
using conditional logic.
You can set the components to:
- Always be displayed
- When all conditions are met (AND)
- When any condition is met (OR)
- When custom conditional logic is met
|
|
Provide Help
|
Give your users more context with
this screen component. The text you enter is available in an info bubble next to the
component. |
Specify the Behavior of Values on Revisited Screens
Specify what this component does when a user enters a value, navigates to a previous
screen, and then returns to the screen with this component.
| Option |
Description |
|
Use values from when the user last visited this screen
|
The component retains the values that the user specified and doesn’t update the
values to reflect changes made on previous screens. |
|
Refresh inputs to incorporate changes elsewhere in the flow
|
The component updates the user-specified values to reflect changes made on
previous screens.
If you pause and then
resume the flow, the flow retains user-specified values only in Checkbox, Checkbox
Group, Currency, Long Text Area, Multi-Select Picklist, Number, Password,
Picklist, Radio Buttons, and Text components.
|
Considerations
- Use the Radio Button Group component type for up to 7 choices. For more choices, use the
Picklist or Radio Buttons component type.
- The Radio Button Group component doesn’t support choices where Display text input is
selected because the input text isn’t visible at run time.