I think in 1.2 all input fields are to go through $form->input() so a
check box would be $form->input(array('type' => 'checkbox'));Geoff -- http://lemoncake.wordpress.com On Jul 30, 9:27 am, citrus <[EMAIL PROTECTED]> wrote: > Have you enabled the Form Helper? > > $helpers = array('Html', 'Form', 'Session'); > > On Jul 30, 4:49 am, Mech7 <[EMAIL PROTECTED]> wrote: > > > I this allready in 1.2 i see in the > > API..http://api.cakephp.org/1.2/class_form_helper.html#b8d997c3ed8911e37bf... > > > But when i use it like: > > > <?php echo $form->checkbox('Article.frontpage'); ?> > > > I get this error: > > > Warning (512): Method FormHelper::checkbox does not exist [CORE\cake > > \libs\view\helper.php, line 148] --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
