In your category model, put this:
var $displayField = 'name';

Name is the name of the db field you want to show instead of the id.

Hope that helps!
hydra12

On Mar 19, 5:48 pm, "sixlaneve" <[EMAIL PROTECTED]> wrote:
> Hi... sorry... I am a bit thick and I have a problem with this
> dropdown.
>
> It works OK, just in the dropdown it shows only the category ID and
> not the category name.... any idea? (I did exactly as cc96i post) :F


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