[TYPO3-dev] How to identify records with 2 key attributes

Martin Kutschker Martin.Kutschker at n0spam-blackbox.net
Tue Dec 11 12:16:23 CET 2007


Widmann, Manfred schrieb:
> 
> When adding a record to the result table, the user has to select a 
> person-record. This is done with a selector box with all the last names in 
> it - but if there are duplicate last names ("Smith") he or she is not able 
> to identify the right record.
> I understand that TYPO3 puts all last names in the selector box because I 
> have choosen last name as "label field" of "person". But how to choose last 
> name plus first name ("Smith, Joe") as "label field"?

Use the "alt. label" feature of the TCA (see docs).

You can set up an "alternative" fields and force it to be always shown. So 
you'll see both first and last name and even you want a business title or 
degree etc.

Masi




More information about the TYPO3-dev mailing list