Friday, March 27, 2009

Titles for drop-down lists

I have a first_name field and a last_name filed in my user table.
When a form has a 'select a user' from a drop down list the list is
populated with user ids. I want to show first_name + last_name
instead of user_ids. Is there a way to do this without creating
another field in my user table called 'name'?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

No comments: