Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Multicheckbox decorator single checkbox
class My_Form_Template extends My_Form
public function init()
$this->createElement(self::TYPE_MULTICHECKBOX, 'checks', array(
'label' => 'Riscrivi Password',
'title' => 'repassword',
'validators' => array(),
'required' => true,
'separator' => '</div><div class="check">',
//'decorators' => $this->_formElementDecorators50,
'decorators' => array(
array(array('uno' => 'HtmlTag'), array('tag' => 'div','class' => 'check')),
'multioptions' => array(
'test2', 'prova2'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment