radio Field

'type' => 'radio'

piklist('field', array(
    'type' => 'radio',
    'field' => 'my_radio',
    'label' => 'Radio',
    'choices' => array(
      'first' => 'First Choice',
      ,'second' => 'Second Choice',
      ,'third' => 'Third Choice'
    )
));

Have ideas for improving the documentation?

This documentation is a community effort. Please create an issue or pull request to help!

Improve this page