radio buttons won't suffice here.
Has anyone successfully used checkboxes in 1.2. Surely someone has
this working?
Thx.
Allen
On Jun 24, 3:15 pm, trooney <[EMAIL PROTECTED]> wrote:
> Try using radio inputs instead ofcheckboxes.
>
> echo $html-
>
> >radio('s_sexes',array('man'=>'Man','woman'=>'Woman','both'=>'Both');
>
> On Jun 24, 4:35 pm, Allen Romero <[EMAIL PROTECTED]> wrote:
>
> > Does anyone know how to displaycheckboxesin1.2then retrieve their
> > values
>
> > I tried something like
>
> > echo $form->checkbox('s_sexes',array('value'=>'Men')) . 'Men';
> > echo $form->checkbox('s_sexes',array('value'=>'Women')) . 'Women';
>
> > but whent he page is submitted, if both are checked, only the second
> > value is submitted to the page.
>
> > Any examples appreciated.
>
> > Thx.
>
> > Allen
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---