Thanks; I know how to grab the info from the database, but what I was
wondering is if there is an $option like 'after' that works for each
checkbox element, rather than the entire checkbox set.

On Jun 24, 2:57 pm, francky06l <[EMAIL PROTECTED]> wrote:
> Seems just a story of find('all' ..) and set::extract /
> set::combine...
>
> On Jun 24, 11:16 pm, Tad <[EMAIL PROTECTED]> wrote:
>
> > CakePHP 1.2 RC1, PHP 5.2.5
>
> > I'm using 1.2's new multiple checkbox input as follows:
>
> > echo $form->input('race', array(
> >   'type'=>'select',
> >   'multiple'=>'checkbox',
> >   'options'=>$races,
> >   'label'=>false
> > ));
>
> > Currently, $races is populated from a find('list'). If I have the
> > descriptions of each race as a field in the database, is there a way
> > to coerce Cake to output the description after each checkbox?
>
> > Alternatively, is it possible to hand-code a multiple select?
>
> > Thanks,
> > Tad

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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