http://groups.google.com/group/cake-php/search?group=cake-php&q=generateList+multiple+field
THis one in particular http://groups.google.com/group/cake-php/browse_thread/thread/c5709f46064b4106/853e167148d67f7d?lnk=gst&q=generateList+multiple+field#853e167148d67f7d Basically nate suggests using afterFind to create a virtual full_name field to use for $displayField Geoff -- http://lemoncake.wordpress.com On Oct 17, 1:24 pm, checkerboard <[EMAIL PROTECTED]> wrote: > Hi guys, > Currently I am having two tables authors and books having M2M > relationship. > The author table has three attributes id ,fname and lname. Now I am > trying to display a select tag in the book entry form consisting of > the author last name and first name. > If I define the var $displayField as last name or first name then it > won't be sufficient since it will display only one field. What I want > is to concatenate both the first name and last name into one and > display it in the select tag. How can I implement this. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
