Project

General

Profile

Actions

Feature #100859

closed

Add ID to FlexFormElementContainer rendering

Added by Alexander Kohlheyer over 1 year ago. Updated 10 months ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
FormEngine aka TCEforms
Target version:
-
Start date:
2023-05-11
Due date:
% Done:

100%

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

Description

Please add an ID (or at least an unique class in the current frame) in file

\typo3\sysext\backend\Classes\Form\Container\FlexFormElementContainer.php

at approx. line 141 (or 137 in v12):
$html[] = '<div class="form-section" id="' . htmlspecialchars($flexFormFieldName) . '">';

I'm not sure if this relevant for the future (as mentioned here [[https://docs.typo3.org/m/typo3/reference-coreapi/10.4/en-us/ApiOverview/FormEngine/Rendering/Index.html]] in the first note, it should have vanished in v9?), but as this file is still present in v12 I guess this feature-request is still adequate for v11 + v12.

Reason behind this: we're working with several Flexforms (gridelements) and try to organize the form fields in the backend via CSS, as it's not possible to do this otherwise (afaik). It would help to distinguish the fields with specific id's or classes.

Other solutions are appreciated as I don't know if there's a smarter way.

Actions

Also available in: Atom PDF