Hi fellow CakePHP enthusiasts.

I have a problem which I'm sure is probably pretty simple but I am not
sure how to do it.

I have a standard Users table with first name, last name, etc.

What I would like to do is set the displayField of the Users model to
a concatenation of first_name . " " . last_name

Now I am thinking that I can accomplish this by creating a custom
field in my model which concatenates these two fields, and set the
displayField to this, but I am not sure how to go about creating the
custom field.

Thanks in advance for any help!  I really appreciate it.

David Roda
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to