Project

General

Profile

Actions

Feature #99997

open

Support disabling of flexform section object fields via PageTS TCEFORM

Added by Justus Moroni about 1 year ago. Updated 7 months ago.

Status:
Under Review
Priority:
Should have
Assignee:
-
Category:
FormEngine aka TCEforms
Target version:
-
Start date:
2023-02-20
Due date:
% Done:

0%

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

Description

It is currently possible to disable flexform fields via PageTS TCEFORM:
https://docs.typo3.org/m/typo3/reference-tsconfig/main/en-us/PageTsconfig/TceForm.html#disabled

This only works on the first level of flexform for the fields inside of sheets.

I suggest that this is extended to also be able to disable fields inside the structure of flexform.
When using the type "array" and section is set to "1" it is possible to add new items like with the "inline" field type.

My suggestion would be that it is possible to define the following PageTS config:


TCEFORM.tt_content.pi_flexform.my_ext_pi1.sDEF.myField.section.disabled = 1
TCEFORM.tt_content.pi_flexform.my_ext_pi1.sDEF.myField.section.sectionField.disabled = 1

I will add a patch with my proposed changes and new test cases.

Actions #1

Updated by Justus Moroni about 1 year ago

  • Description updated (diff)
Actions #2

Updated by Gerrit Code Review about 1 year ago

  • Status changed from New to Under Review

Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/77905

Actions #3

Updated by Gerrit Code Review 7 months ago

Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/77905

Actions #4

Updated by Gerrit Code Review 7 months ago

Patch set 3 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/77905

Actions #5

Updated by Gerrit Code Review 7 months ago

Patch set 4 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/77905

Actions #6

Updated by Gerrit Code Review 7 months ago

Patch set 5 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/77905

Actions

Also available in: Atom PDF