Issue Bug Closed

#90768Flexform nested displayCond

Alexander König 03/16/20, 16:44 updated 05/09/22, 19:33

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?

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.