Actions
Feature #99997
openSupport disabling of flexform section object fields via PageTS TCEFORM
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