I think you just have to set the $displayField var in your model tag.php $displayField = 'word';
Guillaume -- http://cherryonthe.popnews.com On 6 mar, 03:25, clrockwell <[EMAIL PROTECTED]> wrote: > Using 1.2, i have a tag table that has two fields -> 'id' and 'word', > when i use $this->Tag->find('list'), the result is like: > <option value="1">1</option> or <option value=Tag['id']>Tag['id']</ > option> > > What I want is: > <option value="1">Parking</option> or <option > value=Tag['id']>Tag['word']</option> > > I tried using $this->Tag->find('list', array('word')), and > $this->Tag->find('list', array('fields' => 'word')) > > but neither return the desired results. > > Thanks in advance for any direction you can give --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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 -~----------~----~----~----~------~----~------~--~---
