Try setting your model's  $displayField to the field you want to
appear in the select.

On Jun 11, 5:03 am, Grant Cox <[EMAIL PROTECTED]> wrote:
> The scaffolding should automatically create this for you if you have
> the associations set up correctly. What form element is it currently
> showing for the "province_id" field in your /users/edit action?
> Otherwise you can do it manually by having
> $province_options = $this->User->Province->generateList();
> in your users controller action, and use this $province_options as the
> options for your select list.


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