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

Also available in: Atom PDF