Project

General

Profile

Actions

Bug #78551

closed

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

Added by Nicole Cordes over 7 years ago. Updated over 5 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 2 (0 open2 closed)

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

Updated by Gerrit Code Review over 7 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

Actions #2

Updated by Marc Bastian Heinrichs over 7 years ago

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

Actions #3

Updated by Gerrit Code Review over 7 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

Actions #4

Updated by Nicole Cordes over 7 years ago

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

Updated by Gerrit Code Review over 7 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

Actions #6

Updated by Nicole Cordes over 7 years ago

  • Status changed from Under Review to Resolved
Actions #7

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF