Monday, August 3, 2009

Re: Check boxes for a noob

groupId doesnt seem to work either.


This is what the group array looks like.
    [Group] => Array
(
[0] => Array
(
[id] => 2
[name] => Standard User
[created] => 2009-07-30 21:55:03
[modified] => 2009-07-30 21:55:03
)

)

How do I pass that to the 'selected'=> option so I can tell which checkboxes are selected? Do I need to tweak the array before I set it to the view?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

No comments: