Skip to content

@kaiohken1982 /Multicheckbox.php
Created

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Multicheckbox decorator single checkbox
<?php
class My_Form_Template extends My_Form
{
public function init()
{
parent::init();
$this->addElements(array(
$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(
'viewHelper',
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
Something went wrong with that request. Please try again.