Radio group - RadioGroup
Single-choice value group

Component properties
Title (section Basic properties)
title
Radio group title. Feature availability depends on the license and may not be available in all deployments.
Graphical representation of the component (section Other)
presentation
Graphical representation of the component (to choose the value STANDARD and SELECT). The value STANDARD defines the standard appearance of the component. Feature availability depends on the license and may not be available in all deployments.
More information about component properties: Common component properties

Internal components
Inside the component Radio group two types of components can be embedded: Text (text labels) and Radio (single-choice components). The way components are arranged inside Radio group can be defined using a layout, similarly to the arrangement of components on a page or in a section.
Note! A dynamic Radio group always has a single-column layout.
Component input parameters
value
The value taken by the selected field Radio.
text
Text label of the field Radio. It is possible to refer to variables or fields, e.g.: ${sessionVariableName} or ${GesTextField1}
Populating with an external data source
Component Radio group can be populated with data from an external data source.
To populate the component Radio group go to the tab Interactions and select the property External data source. Then select the desired service, e.g. dictionary.

For the source type SERVICE - you can e.g. choose a service that displays formatted text and graphics in the radio from the Content artifact (TextContent) - for this purpose use the service TextContentService.

If the logic for generating options is specific to a given form or requires data to be processed dynamically, the best choice will be using a source of type SCRIPT. The example below presents a script that converts a dictionary defined in the object into a format understandable by the component (an array of objects containing pairs label and value).
To ensure the script works properly, configuring the output parameter mapping is necessary. The properties returned by the script (label and value) must be unambiguously assigned to the appropriate component attributes.

After correct mapping, the component will generate a list of options based on the data returned by the code. The script will automatically adjust the list appearance, correctly handling both very long and short texts.

For the source type DICTIONARY - all rows will be translated into fields Radio and arranged according to the layout GridLayout, each field Radio on the next row.

Last updated
Was this helpful?
