[TYPO3-dev] using group-column as list-label?

Markus Schorer ms at plain.de
Fri Aug 4 17:24:58 CEST 2006


Markus Schorer wrote:
> hi all,
> 
> how can i display the label-column of the foreign table for a 
> group-column and not the _id_ of that entry?
> 

came up with kind of a solution by myself:

i'm using a second field to hold the name.
the be-field is rendered by a userFunc. there i insert javascript code 
into the onsubmit-handler of the be-editform.
on-submit i copy the .text-value of option[0] of the select box into my 
name-field (there is at max 1 entry in the select box).

does work quite good, but:
how can i suppress the output of the field-label un my userfunc?
i can make my name field hidden, but there still ist the label ...

as the user cannot change the value and it is updated on submit only, i 
want to hide it.

markus
-- 
_______________________________________________________________________
plain GmbH        | daiserstrasse 15      | 81371 münchen
fon 089.540.149.0 | fax 089.540.149.44    | http://www.plain.de




More information about the TYPO3-dev mailing list