For the complete documentation index, see llms.txt. This page is also available as Markdown.

Radio group - RadioGroup

Single-choice value group

Component properties

Eximee Designer property
Attribute name in the Source
Description

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

Figure 1. Component appearance on the form

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.

Component input parameters

Parameter
Description

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.

Figure 2. How to populate with an external data source
  • 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.

Figure 3. Populating the Radio group with data from formatted content

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.

Figure 4. Mapping output parameters to 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.

Figure 5. Radio group populated by a script
  • 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.

Figure 6. Populating the Radio group with data from a dictionary

Demo form: demoRadioGroup

♿WCAG: WCAG best practices for low-code dev

Last updated

Was this helpful?