On Jan 15, 2008 12:33 PM, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I have a table of data and need to allow the user to choose certain
> records to authorise by either checking a checkbox or radio, select
> etc but I am struggling with the best way to show this data given that
> Cake form element expects a single model and field.  I'm using 1.2 and
> have hunted high and low for an example, helper or tutorial...
>
> Getting the data back and processing it isn't a problem it's just
> working out the right way to reference the model/field name in the
> $form->select or whatever call...
>

I'm working on the same thing right now. See these links:

http://bakery.cakephp.org/articles/view/create-multiple-checkboxes-instead-of-a-multiple-select-in-your-views
http://www.monkeydispenser.com/2007/07/03/using-checkboxes-in-cakephp/

I haven't gotten it to work yet, though, because i'm struggling with
multiple checkboxes and a tableless model. Expect a cry for help to
the list any time now.

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