Radio
Last updated
Was this helpful?
Last updated
Was this helpful?
The Radio module can be used to add a radio button to be used in a form.
Radio Group Id (required) String Sets the ID of the radio group, which can be referenced by other elements.
Radio Group Label String Sets the label for the radio group, displayed above the contents of the radio group.
Radio Button Label (required) List of or a singular String(s) Sets the contents (label) for a radio. Multiple radios can be added to a Radio Module, each with its own Button Label. Example: 'I have read the terms and conditions.'
Is this field required?
Checkbox, default disabled
If enabled, guests will be required to fill a radio within the module. If a guest attempts to submit the form without filling it in, a default error message will be displayed.
Custom Required Message String This field can be used to customize the error message to be displayed if a radio for required field is not checked off. Example: 'Please select one of the options before proceeding.'
Radio Group Alignment (required)
String, flex-direction
css property
The alignment of items within the radio group. These values can be used:
row
column
row-reverse
column-reverse
Size
Dropdown, default md
Sets the size of the checkbox(es). These values can be used:
sm
md
lg
Style attribute String, css style property input Can apply additional CSS to customize the radio
Radio:on-change