Bug #84142
closedForms interfering when using the same form multiple times on one page
0%
Description
It is currently not possible to use the same form multiple times on a single page without interference of the forms. How to reproduce:
1. Create a form with two pages
2. Create two form plugins on the same page and choose form from step 1 for both plugins
3. Navigate to the second page of the first form
4. Result: both forms are no on page 2
There are more issues with this:
- Values entered in one form are also present in the second form
- Finisher emails are sent two times
The problem is that forms are not treated uniquely by plugin integration, but just by form definition. E.g. form field names just use the form name as prefix: tx_form_formframework[form_name][field_name]
In my opinion it should be possible to use the same form multiple times on the same page but with different finishers set on the corresponding plugin content element. A common use case for instance is a contact form that has different recipients depending on the issue.
Updated by Ralf Zimmermann over 6 years ago
- Related to Feature #81775: EXT:form - add the possibilty to use the same form multiple times on one page added
Updated by Ralf Zimmermann over 6 years ago
This issue is fixed since TYPO3 v9.0.
Updated by Markus Mächler over 6 years ago
Ralf Zimmermann wrote:
This issue is fixed since TYPO3 v9.0.
Thanks for the response! Will this fix also be available for TYPO3 8 LTS?
Updated by Björn Jacob over 6 years ago
- Status changed from New to Closed
This change was a feature which cannot be backported to TYPO3 v8. We are very sorry.