0

Is there a way to show my flexform field only when a record storage page is defined? I tried the following, but I got an error:

   <settings.view.type>
       <TCEforms>
           <displayCond>FIELD:pages:REQ:true</displayCond>
....

-> Flex form displayCond on field "settings.view.type" on flex form sheet "sDEF" references a field or field / sheet combination "pages" that might be defined in given data structure but is not found in data values.

4

1 回答 1

3

尝试在字段名前加上:parentReq.

然后这将访问父数据库记录而不是 FlexForm 数据:

<settings.view.type>
    <TCEforms>
        <displayCond>FIELD:parentRec.pages:REQ:true</displayCond>
        ...
    </TCEforms>
</settings.view.type>
于 2018-10-09T18:53:09.973 回答