Project

General

Profile

Actions

Bug #90768

closed

Flexform nested displayCond

Added by Alexander König about 4 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2020-03-16
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
9
PHP Version:
7.3
Tags:
flexform condition displaycond
Complexity:
Is Regression:
Sprint Focus:

Description

Hi,

we've got an issue with nested flexform conditions, this issue is also descriped in this https://forge.typo3.org/issues/82499 bugreport.
We want to use this nested condition:

 <OR>
    <AND>
      <numindex index="0">FIELD:general.settings.flexForm.progMode:=:showEducationList</numindex>
      <numindex index="1">FIELD:settings.flexForm.orgUid:REQ:false</numindex>
    </AND>
    <AND>
      <numindex index="0">FIELD:settings.flexForm.progMode:=:showEducation</numindex>
      <numindex index="1">FIELD:settings.flexForm.eduOrgUid:REQ:false</numindex>
    </AND>
  </OR>

Only the second "AND"-Block is evaluated, since this one will overwrite the first AND-block, when its pared into an array (info from linked bugreport).
Is there an other way to write this condition?


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #82499: displayCond - Problem with multiple conditionsClosed2017-09-17

Actions
Actions

Also available in: Atom PDF