Re: drop-down list - displayed values

2010-04-21 Thread WebbedIT
It;s likely that what jeremy says is right, and if this is the case you can either a) Rename a field in your db table to name b) Specify the displayField attribute in your model to use a different field for find('list') c) Add a fields array to your find('list', array('fields'=array('Model.id',

Re: drop-down list - displayed values

2010-04-20 Thread Jeremy Burns
Not sure if this is your issue, but by default it will show a drop down made up by the 'id' and 'name' columns. If it can't find those it reverts to a plain text field. Jeremy Burns jeremybu...@me.com On 19 Apr 2010, at 18:51, morficus wrote: Hey guys, I'm new to cakePHP and I love it. But

drop-down list - displayed values

2010-04-19 Thread morficus
Hey guys, I'm new to cakePHP and I love it. But I have ran in to a little snag with the auto-baked views. In them, I have a drop-down list which shows what group or client a certain user is to be associated with (when creating new user account). The issue... is that in on view the drop-down list