html Field

'type' => 'html'

The Piklist html field, allows you to render standard HTML markup and keep the same label/field format as the rest of your fields.

You can use Piklist field parameters to customize this field.

piklist('field', array(
    'type' => 'html',
    ,'label' => 'HTML Field',
    ,'value' => '<strong>This is some html</strong>'
  ));

Have ideas for improving the documentation?

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

Improve this page