$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
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?