Hi, i’m working with cake 2.x , i’m trying to save a data from a form created with a formHelper , but is not working for new fields i´ve add up recently, and i dont know why, here onde example of the code:
Starting the form:
<?php echo $this->Form->create('Briefing', array('type' => 'file')); ?>
… than many fields that works, likes these:
<?php echo $this->Form->label('Briefing.categoria_id', 'Categoria', 'control-label'); ?>
<?php echo $this->Form->input('Briefing.categoria_id', array('class' => 'input-xxlarge', 'div' => 'controls', 'label' => false))." ";
and, so , these do not work;
echo "GRU";
echo $this->Form->checkbox('GRU')." ";
echo "VOL ";
echo $this->Form->checkbox('Briefing.VOL')." ";
why it is happening?