Bug #78551

Second form in template doesn't render hidden field for checkbox

Added by Nicole Cordes over 4 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Fluid
Target version:
-
Start date:
2016-11-03
Due date:
% Done:

100%

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

Description

Following steps to reproduce the problem:

1) Create a Fluid template with following content:

<f:render partial="Form" />
<p>some other text</p>
<f:render partial="Form" />

2) Create a Fluid partial with following content:

<f:form action="#test" method="post">
<f:form.checkbox name="mycheckbox" value="1" />
</f:form>

Expected result:
Two forms with renderer checkboxes. Each with an own hidden field for a default (empty) value.

Actual result:
Only the first checkbox is rendered with a hidden field.


Related issues

Related to TYPO3 Core - Bug #77097: [__referrer][@request] is set only for the first form, when forms are generated in a f:for loopClosed2016-07-14

Actions
Has duplicate TYPO3 Core - Bug #39989: Same form twice in one template: hidden fields for empty values are only rendered onceClosedMarc Bastian Heinrichs2012-08-20

Actions
#1

Updated by Gerrit Code Review over 4 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/50486

#2

Updated by Marc Bastian Heinrichs over 4 years ago

thx for taking care now of my four years old #39989! :-)

#3

Updated by Gerrit Code Review over 4 years ago

Patch set 1 for branch TYPO3_7-6 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/50856

#4

Updated by Nicole Cordes over 4 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
#5

Updated by Gerrit Code Review over 4 years ago

  • Status changed from Resolved to Under Review

Patch set 1 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/50888

#6

Updated by Nicole Cordes over 4 years ago

  • Status changed from Under Review to Resolved
#7

Updated by Benni Mack over 2 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF