Feature #75266
closedFlexform: Palettes for Flexform
0%
Description
There should be a possibility to have at least 2 fields beside each other.
Think of having something like start and stop. It would be nice to have these items beside each other in column. In TCA its possible, bot not in Flexform. Because my understanding of flex form is an interpretation of TCA, it should be a must hast, not only a nice to have,
There are some experiments in the web to solve it by CSS... There are some discussions over the last years, but i guess, nobody asked for that.
Updated by Christian Kuhn over 8 years ago
From a semantic point of view, 'palettes' in tca is basically a sub-array of 'types'. But 'types' does not exist in flex at all. Also, the '--div--' thing from types in tca is done in flex on a totally different structural level, they have those 'sheets', so it is basically not possible to arrange flex fields within a form similar to how it is done in tca. That means, you'd probably have to make up a new syntax for palettes within flex form, making this stuff even more complex. Considering the fact that flex form definitions are incredible ugly to read already, this is not a path i'd follow here.
So, while it is true that flex forms have less freedom in arranging form fields compared to what plain tca provides, it is also rather ugly to implement this stuff and it would bloat this ugly construct even more.
With the refactoring of FormEngine in version 7, it is however now possible to do bigger changes on the TCA side, too. I have quite some ideas for a "tca 2.0" in my mind that could resolve the types and palettes sections (and the inline child tca overrides and the display conditions) of TCA in a much more powerful - but easier to understand and configure - way. Together with the fact that we're now able to on-the-fly-migrate TCA and flex to new syntax if we decide so, we do have the freedom to restructure bigger parts in the future.
But, this will take more time and I currently see no option to have a main TCA restructuring in v8, there is too much other stuff that is in the works already.
So, I'd be in favor of not touching those limits of flex forms at the moment, but instead handle this if we come back to a bigger rebuild of TCA structures later.
Updated by Jonas Eberle almost 4 years ago
- Related to Feature #92903: Add ability to use FlexForm fields in TCA showitems added
Updated by Christian Kuhn about 1 year ago
- Status changed from New to Closed
Hey. I hope it's ok to close here for now: It does not seem as if there are many people willing to implement a TCA 'palettes' counterpart for flex forms, in fact we're rather trying to simplify TCA more and more. In case anyone wants to pick this up again, we can of course discuss and see what happens, which can end up in fresh issues.