color Field

'type' => 'color'

This is an HTML5 field

  piklist('field', array(
    'type' => 'color',
    'field' => 'my_field',
    'label' => 'Color field',
  ));

Have ideas for improving the documentation?

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

Improve this page