Skip to content
MyAppBuilder
StableFormsVersion 1

Radio

Overview

A set of mutually exclusive options shown all at once. Best for 2–5 short choices the visitor should see without opening a list.

When to use

  • Yes / No questions
  • Delivery or pickup
  • Payment method
  • Urgency: Normal / Urgent

When not to use

  • More than 5–6 options: use Dropdown
  • Several answers: use Multi Select
  • A single on/off setting: use Toggle or Checkbox

Quick start

  1. Add a Radio inside a Form and set Label and Field key
  2. Edit Options: value saved, label shown
  3. Set Default value to the most common choice so a selection is always present

Properties

Labeltext (bindable)

The caption shown above the field. Keep it short and specific ("Work email", not "Email 2"). It is also read by screen readers and used in automatic error messages.

Default: Radio

Example: Delivery address

Field keytext

The key this value is saved under when the form is submitted. To save into an entity field, use that field's key exactly (lowercase, underscores). Inputs without a key are not included in the saved record.

Default: radio_group

Example: phone_number

Two inputs with the same key overwrite each other. Keys must start with a letter and contain only lowercase letters, digits and underscores.

Help texttext (bindable)

A short hint shown under the field until a validation error replaces it. Use it for format expectations or why you ask for the information.

Example: We only call about your order.

Default valuetext (bindable)

The value the field starts with. It is included when the form is submitted even if the visitor never touches the field. Bind it to pre-fill the choice from the current user, a page parameter or the current record.

Example: yes

Requiredboolean

Blocks submission while the field is empty and shows a red asterisk next to the label. The message is “<Label> is required” unless you set a Validation message.

Default: false

Read onlyboolean (bindable)

Shows the value but prevents editing. Useful for values you pre-fill and want the visitor to see but not change. Bind it to make a field editable only for some roles or statuses.

Default: false

Disabledboolean (bindable)

Greys the field out and skips it from keyboard navigation. Bind it to a condition such as “Status is Closed” to lock a field in context.

Default: false

Optionsoptions

The choices, in display order. Values should match the entity's Select field options.

Default: [{"value":"yes","label":"Yes"},{"value":"no","label":"No"}]

Example: pickup → Pick up in store · delivery → Home delivery

Data binding

Saves the chosen option value as text into a Select (or Text) field. Options cannot be loaded from an entity; use Dropdown for that.

Properties that can use dynamic data: Label, Help text, Default value, Read only, Disabled.

Events

On change
Runs every time the choice changes. The new value is available as Event → value. Typical uses: Set State to drive a filter or a visibility rule, Show Toast for instant feedback. Avoid slow actions (API calls) on every keystroke.
On focus
Runs when the visitor enters the field (click or Tab). Useful for showing contextual help or opening a drawer with instructions.
On blur
Runs when the visitor leaves the field. A good moment to run lookups (e.g. fetch customer details once an email is complete) because it fires once instead of on every keystroke.

Actions

Open the Actions tab in the inspector, pick an event and add actions such as Go to page, Create record or Show message. Actions run in order; data-changing actions run on the server with the signed-in user's permissions.

Other components can read this component's value from the Data Picker → Component state.

Responsive behavior

Uses 6 of 12 columns by default. In the Responsive tab you can change visibility, span, dimensions, padding, margin, font, order, alignment, direction separately for tablet and mobile.

Permissions

Use the Permissions tab to show this component only to some roles. Hiding a component is a convenience, not security — the server always checks who may read or change data.

Accessibility

  • Rendered as a native radio group with the Label as its group name; arrow keys move between options

Examples

Delivery method with conditional address

Example
Label: How do you want it?
Field key: fulfilment
Options: pickup → Pick up, delivery → Deliver
Default value: pickup
Address input visibility: Form field fulfilment equals delivery

Common patterns

  • Visibility rules on other inputs based on this value
  • On Change → Set State for instant price previews

Limitations

  • Horizontal/vertical arrangement follows the available width automatically

Troubleshooting

No option is pre-selected

Why: Default value empty or not equal to an option value

Fix: Set Default value to one of the option values (not the label)

Related

Was this helpful?