Project

General

Profile

Actions

Bug #84142

closed

Forms interfering when using the same form multiple times on one page

Added by Markus Mächler over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Form Framework
Target version:
-
Start date:
2018-03-05
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

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.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Feature #81775: EXT:form - add the possibilty to use the same form multiple times on one pageClosed2017-07-03

Actions
Actions #1

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
Actions #2

Updated by Ralf Zimmermann over 6 years ago

This issue is fixed since TYPO3 v9.0.

Actions #3

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?

Actions #4

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.

Actions

Also available in: Atom PDF