Skip to content

Radio Buttons ​

The Multi Choice fieldtype renders radio buttons in two styles: traditional radio circles and modern button-style selectors.

Traditional Radio Field ​

yaml
handle: simple_radio_field
field:
  options:
    -
      key: option1
      value: 'Option 1'
    -
      key: option2
      value: 'Option 2'
    -
      key: option3
      value: 'Option 3'
  type: multi_choice
  display: 'Simple Radio Field'
The radio input field example that the code above creates.
The radio input field example that the code above creates.

Button-Style Radio ​

Easy Forms also ships with a fully accessible button-style radio input that is better suited for modern interfaces.

To use it, simply enable the Enable Improved Fields option located at the bottom of the field configuration.

The radio button input field example.
The radio button input field example.

Yes / No ​

The Yes/No fieldtype always uses the button style.

yaml
handle: recommend
field:
  type: yes_no
  display: 'Would you recommend us?'