2007/9/18, Chris Hartjes <[EMAIL PROTECTED]>:
> > How should I change the call to $form->input() to show a select-list?
> > The list with audiences is available to the view in variable
> > $audiences.
>
> Try this code using 1.2.x.x
>
> $form->input('ade_id', array('values' => $audiences));

Thanks for pointing me in the right direction.

It was array('options'=>$audiences) instead of values, but I found it.

Martin

-- 
  Martin Schapendonk, [EMAIL PROTECTED]

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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