FR

Radio

Allows users to select one option from a defined list. For quick reference, see technical parameters.

Best practices

  • Use in forms only
  • Write clear and concise questions.
  • Field is required by default. For an optional field, use a Checkbox.

Example

Parameters

html_id
HTML id of the element. Add only if needed to customize styling or needed by Javascript to perform a specific functionality.
inline
Specifies if the options should be inline
label
Label of the field. The content enclosed within the shortcode tags populates this field.
name
HTML name of the field
options
Defines the options. Use commas to separate.
selected_option
Sets which option should be selected as the default, e.g. selected_option=’2’
separator
When commas are part of the content, use a special character to separate the options.
values
Defines the values that will be displayed in the data output. Use commas to separate. If no “values” attribute is specified, the “options” will be used by default.