Project

General

Profile

Feature #99997

Updated by Justus Moroni about 1 year ago

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: 
 <pre><code> 
 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 TCEFORM.tt_content.pi_flexform.my_ext_pi1.sDEF.myField.object.objectField.disabled = 1 
 </code></pre> 

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

Back