Re: I need help with checkbox

2010-01-27 Thread Lance Willett
$form-input('Curse.0.curse_id',array('type' = 'checkbox', 'value' =   13)); how do I recoup the fields checked for edition? The data will be in $this-data['Curse'] in the controller.   $this-data = $this-User-read(null, $id); By doing this you are completely blowing away the form submitted

I need help with checkbox

2010-01-26 Thread Edinei Luis Cipriani
The view... $form-input('Curse.0.curse_id',array('type' = 'checkbox', 'value' = 13)); $form-input('Curse.1.curse_id',array('type' = 'checkbox', 'value' = 14)); $form-input('Curse.2.curse_id',array('type' = 'checkbox', 'value' = 15)); how do I recoup the fields checked for edition?