Never mind, I found out the problem. It was in the view.
echo $this->Form-
>input('KsfDimensionsPortfolioEntry.ksf_dimension_id',array('type'=>'select
','multiple'=>'checkbox','label'=>'KSF dimensions','selected'=>
$selectedDimensions));
Should read:
echo $this->Form-
>input('KsfDimension',arr
Hi Andy,
Thanks for replying
> Why are you trying to save to the relationship table? Cake will do
> that for you automatically.
That's what I was lead to believe, but it doesn't seem to be working.
> What does your view look like (at least the part that creates the
> form)? Provided your H
Why are you trying to save to the relationship table? Cake will do
that for you automatically.
What does your view look like (at least the part that creates the
form)? Provided your HABTM is set up correctly in the models and view,
calling $this->Model->save($this->data) in the controller should b
I'll apologise now! There seems to be loads of advice about HABTM in
cake, but I still can't quite get the answer to my particular problem.
I have two tables and a join_table. On my view, I have created a
form, which has a multiple checkbox. The problem I am having is that
this is not returned i