Project

General

Profile

Actions

Task #93720

closed

10.4

Added by TYPO3 GmbH TYPO3com about 3 years ago. Updated about 3 years ago.

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

0%

Estimated time:
TYPO3 Version:
10
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

For now, in typo3 v:10.4, we can hide or show specific element, by using displaycond in TCA config

My question is:
- can we hide or show a specific(s) item(s) in specific element, by using displaycond or other param in TCA config.

best wishes.

This issue was automatically created from https://github.com/TYPO3/TYPO3.CMS/pull/299

Actions #1

Updated by Georg Ringer about 3 years ago

  • Status changed from New to Closed

closing it with same answer as on github

To answer your question: No, display conditions always handle only a full element, not single 'select' or 'group' items. If you need need to modify items, the FormDataProvider API may be your choice ... have a look at https://docs.typo3.org/m/typo3/reference-coreapi/10.4/en-us/ApiOverview/FormEngine/DataCompiling/Index.html for more details on this topic.

Actions

Also available in: Atom PDF