Bug #20600
closedNested flexforms not possible
0%
Description
When using a flexform in a flexform there are several errors, it's not possible.
nested flexform (simple):- yellow exclamation sign is shown (but there are no required fields)
- save throws errors
- tabs are not unique, second section element doesn't render flexform, tabs are the same as in first element
I attached a test-extension to show the mentioned problems.
(issue imported from #M11307)
Files
Updated by Alexander Opitz over 11 years ago
- Status changed from New to Needs Feedback
- Target version deleted (
0)
The issue is very old, does this issue exists in newer versions of TYPO3 CMS (4.5 or 6.1)?
Updated by Alexander Opitz about 11 years ago
- Status changed from Needs Feedback to Closed
- Is Regression set to No
No feedback for over 90 days.
Updated by Gabriel Kaufmann / Typoworx NewMedia about 10 years ago
I just stumbled over such issue again in TYPO3 6.2
It is possible to setup and view nested FlexForms (Flexform-Field of type "flex" with sub-flexform file defined).
It is correctly viewed but saving isn't possible yet either!
I would expect, that the flexform-field containing a field of type "flex" will return it's saveable FlexForm-Data into the structure of the parent-flexform (under the field-name beloging to the nested flexform).
This still does not work - but sometimes makes sense in order to have a clean view of more complex configuration structures!
Just a simple example which shows making sense of it:
We have a Plugin that should also contain a contact-form component. The contact-form settings are setup in a separate "tab" in FlexForm sheet "Contact Form".
Under contact-form we need the admin-mail setup (admin.recipientMail, admin.senderMail, admin.mailSubject).
We need the same setup for the contact-person (just in this case without recipientMail as it is dynamically filled in by front-end form plugin).
This case it would end up in this structure (simplified shown):
[ Plugin Flexform ] -- f.e. Common config -- Contact Form ---- Admin Mail -------| FlexForm file for "Admin" | ---------- field: admin.recipientMail ---------- field: admin.senderMail ---------- field: admin.mailSubject ---- Customer Mail -------| FlexForm file for "Customer" | ---------- field: customer.senderMail ---------- field: customer.mailSubject
I think this feature makes sense and was asked for a lot of times by other users!