Project

General

Profile

Actions

Bug #27415

closed

ViewHelper Forms with method get and action parameter do not address to right action

Added by René Wagner over 13 years ago. Updated about 8 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Fluid
Target version:
-
Start date:
2011-06-13
Due date:
% Done:

0%

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

Description

A form like the following is rendered invalid:

<f:form action="list" method="get" id="searchForm" name="searchForm">...</f:form>

The reason is, it is addressing the action as a query string in the form action attribute. This query string gets completely substituted by the form fields inside the form.

Resolution: On get formulars, render the query string as hidden form fields.

Manual workaround:

<f:form action="list" method="get" id="searchForm" name="searchForm">
<f:form.hidden name="action" value="list" />
...
</f:form>

Actions

Also available in: Atom PDF