Is it possible to use checkboxes instead of a multiple select to
represent data in a many-to-many relation?

I have a categories table connected to a resources table via a
categories_resources table, and have set up the HABTM relations in the
two models.

Now, in my resource add/edit views, I want to let the user select, via
checkboxes, which categories the resource belongs to. (One resource
can belong to many categories, and one category can contain many
resources).

How can I do this in Cake 1.2?


--~--~---------~--~----~------------~-------~--~----~
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