Hi Alexandru.
Thank you for the input. But a dropdown box is STILL not happening :/
I validated with pr($store_tables); That I am indeed getting back a
list of tables.
However the echo $form->input('store_table_id'); does not produce a
dropdown.
Any other ideas or things I need to check?
There is a field called 'name' in the store_tables DB table.
Thank you!
On Dec 12, 2:46 pm, Alexandru Ciobanu <[email protected]> wrote:
> _Z wrote:
> > Hello,
>
> > I am expecting a dropdown box in my /add action, but only a textbox is
> > produced.
>
> In your controller:
>
> $store_tables = $this->Waitlist->StoreTable->find('list');
>
> $this->set(compact('store_tables'));
>
> In your view:
>
> echo $form->input('store_zone_id');
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---