Skip to main content

Radio group component

The properties for the radio group component in the Method app builder.

A radio group component is an input type for the user to choose between two or more options.


Radio group component properties

Selecting the component shows its configurable properties.


Data source

Currently, the data source is only Manual. This component cannot be mapped to a table field.


Display

Display

Label

Text to identify the component.

Show label

Toggle the visibility of the label for the user.

Direction

Choose between listing the values vertical or horizontal.

Default state

The default state of the component (Regular/Hidden/Disabled).


Values

Using the plus icon, add the values to represent the options within the radio group component.

Menu items

+ Plus symbol

Add a new value to the options

Sort order

Change sort order by dragging this handle.

Default

Select the default option for the component.


Events

  • Change - Event is triggered when a user changes the value of the radio button. If the user selects the same option, it will not trigger.


Accessing value of the Radio Button

The radio group component will hold one of values specified in Values.

When an action requires you to 'Assign a value', you can grab one of these values from the component itself.

Example:

The below image shows an Assign Value to Action Result action. It will assign the value stored in the radio group component object called "Radio_group". If the above image example values are used, and a user had not changed it from the default choice, the action result would be set to "First choice".

Did this answer your question?