Feature #16586
closeddisplayCond for flexforms, that affects on row of element
0%
Description
An displayCond in flexform affects only on FIELDS of the same hierarchy-level in xml-definion.
Would be nice to have an displayCond that affects also on the classical way for flexform.
For example :
<displayCond>FIELD:colPos:=:0</displayCond>
shows the ff-element only, if the ce is in main-content-col.
(issue imported from #M4270)
Files
Updated by Tolleiv Nietsch over 15 years ago
I've attached a patch (second file is relevant) which enables to use the parent-record fields with the prefix "parentRec."
a example (flex) displayCond could look like <displayCond>FIELD:parentRec.header:REQ:true</displayCond>
once PHP 5.3 is base-requirement for TYPO3 it should be easy to use a real Lambda-function instead of create_function
Updated by Andreas Otto † over 15 years ago
The file 4270_v5.diff contains modifications of the patch posted as 4270_v4.diff by Rupert German on the TYPO3 core mailinglist.