Checkbox
Usage example
<?php $form = new \Ip\Form(); $form->addField(new \Ip\Form\Field\Checkbox( array( 'name' => 'myCheckbox', 'label' => 'I agree', 'checked' => 1 ) )); echo $form->render();
Usage example
<?php $form = new \Ip\Form(); $form->addField(new \Ip\Form\Field\Checkbox( array( 'name' => 'myCheckbox', 'label' => 'I agree', 'checked' => 1 ) )); echo $form->render();