Actions
Feature #33390
closeddisplayCond for sheets in flexforms
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2012-01-23
Due date:
% Done:
100%
Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:
Description
would be nice to be able to determine whether a flexform sheet will be display or not via displayCond. This currently only works for fields and is checking for field values is limited to those of the same sheet.
just like accessing the values of fields from the same sheet for a field:
<displayCond>FIELD:view:=:list</displayCond>
or fields of the tt_content record:
<displayCond>FIELD:parentRec.fieldXYZ:=:valueXYZ</displayCond>
there should be a possibility to check on specific fields of specific sheets for sheets:
<displayCond>FIELD:sDEF.view:=:list</displayCond>
the attached patch file is just a little hack to demonstrate the feature. it covers scenarios like:
<sDEF> ... </sDEF <sheet1> <ROOT> <TCEforms> <sheetTitle>My optional Sheet</sheetTitle> <displayCond>FIELD:sDEF.view:=:list</displayCond> </TCEforms> <el> ...
Files
Actions