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

Widmann, Manfred mpunktw at gmx.net
Tue Dec 11 22:06:49 CET 2007


Right, Masi! That's the way it worked! Great! Thanx a lot!
Manfred


"Martin Kutschker" <Martin.Kutschker at n0spam-blackbox.net> schrieb im 
Newsbeitrag 
news:mailman.1.1197371756.26560.typo3-dev at lists.netfielders.de...
> 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