[TYPO3-dev] TCA, wsitch the look of a field but using the same field name

Jochen Rieger j.rieger at connecta.ag
Sat Jun 3 12:07:27 CEST 2006


Hi Ries,

> How can I detect what radio is selected and to replace the config in 
> content based on the above radio?

displayCond might be your friend. This should work in normal TCA config 
[1] as well as in Flexforms [2]. Beside that there is the extension 
dynaflex [3] in case you are using flexforms.

Regards,
Jochen

[1]
http://typo3.org/documentation/document-library/core-documentation/doc_core_api/current/view/4/2/

[2]
<xyz>
   <TCEforms>
     <displayCond>FIELD:yourotherfield:=:YOURVALUE</displayCond>
     <label>LLL:EXT:yourextension/locallang_tca.php:xyz</label>
     <config>
       <type>input</type>
       <size>5</size>
     </config>
   </TCEforms>
</xyz>

[3]
http://typo3.org/extensions/repository/search/dynaflex/0.2.0/




More information about the TYPO3-dev mailing list