range Field

'type' => 'range'

This is an HTML5 field

  piklist('field', array(
    'type' => 'range',
    'field' => 'my_field',
    'label' => 'my field',
    'attributes' => array(
      'min' => 5
      ,'max' => 30
      ,'step' => 5
    )
  ));

Have ideas for improving the documentation?

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

Improve this page