> How do I specify a field other than 'name' - or multiple fields if I
> can, so I can show LastName,FirstName - as the 'display' value in a
> select list using generateList?

if you don't follow the cake naming conventions, you can use
$displayfield in your model, eg:

$displayField = 'FirstName';

more info here: http://api.cakephp.org/model__php4_8php-source.html#l00081

though, is there any reason why 'firstname' couldn't just be name,
internally at least?

jb

-- 


jon bennett
t: +44 (0) 1225 341 039 w: http://www.jben.net/
iChat (AIM): jbendotnet Skype: jon-bennett

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

Reply via email to