I have a form that represents a RewardModifier table in our database. That RewardModifier hasMany RewardOption.
My fo
I had a similar problem. I found adding (the equivalent of) this to the RewardModifier controller did the trick:
public function beforeFilter(){
$this->Security->unlockedFields = array('RewardOption');
}
Adding the following to the form code worked for me
$this->Form->unlockField('User.id');
Unlocking the fields from within the view files also helps declutter the controller's beforeFilter().
Source: /core-libraries/helpers/form.html#FormHelper::unlockField