I have this Editor model which hasAndBelongsToMany Connection(s).
Editor, Connection models have all associations set corrrect.

On a page I have this Connection and a list of all Editors. I want to
use checkbox to check which Editor(s) I want to assign to this
Connection.id given.

How should I name the $fieldName in $html->checkbox() helper?

I've tried this:

$html->checkbox('Connection/Connection',null,
array('value'=>$editor['Editor']['id'], $checked), true)

also $fieldName was 'Connection/Editor', 'Editor/id',
'Connection/id'... 

but no use....

help. thanx


--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"Cake PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to