Feature #4277

Putting form fields in a partial causes error

Added by Irene Höppner over 12 years ago. Updated about 11 years ago.

Must have
Target version:
Start date:
Due date:
% Done:


Estimated time:
Has patch:


You often have the same form-fields in a new-template like in an edit-template. So I would like to put them into a partial which is used in the new-form and in the edit-form.
The form-tag itself would stay in the different templates.

So a partial could look like this:

<label for="titel">Titel/Tätigkeit:</label><br />
<f:form.textbox property="titel" size="70" id="titel" /><br />
<label for="personentage">Personentage:</label><br />
<f:form.textbox property="personentage" size="5" id="personentage" /><br />

Being included like this:

<f:form method="post" action="createOhneProjekt" object="{newAuftrag}" name="newAuftrag">
    <f:form.hidden name="kunde" value="{kunde}" />
        <f:render partial="auftragNewEditFormPart" arguments="{newAuftrag: newAuftrag}"/>    
    <f:form.submit value="Auftrag Anlegen" />

This results to the exception: #1243325768: No value found for key "F3\Fluid\ViewHelpers\FormViewHelper->formName"


Fluid-4277.patch (1.64 KB) Fluid-4277.patch Sebastian Kurfuerst, 2009-08-31 15:29

Related issues

Has duplicate TYPO3.Fluid - Bug #7882: wrong section rendering with <f.form.textbox />Closed2010-05-24


Updated by Sebastian Kurfuerst over 12 years ago

Please check if the attached patch solves the issue.


Updated by Irene Höppner over 12 years ago

It works :-))



Updated by Sebastian Kurfuerst over 12 years ago

  • Category set to ViewHelpers
  • Status changed from Needs Feedback to Accepted
  • Assignee set to Sebastian Kurfuerst
  • Priority changed from Should have to Must have

I'll fix this.


Updated by Sebastian Kurfuerst almost 12 years ago

[mustfixthis] until book release


Updated by Peter Niederlag almost 12 years ago

just ran into this one as well ...


Updated by Sebastian Kurfuerst over 11 years ago

  • Due date set to 2010-06-18
  • Start date changed from 2009-08-20 to 2010-06-18

create v5 selenium test


Updated by Sebastian Kurfuerst over 11 years ago

  • Status changed from Accepted to Resolved
  • % Done changed from 0 to 100

commmitted in r4595 for v5, and r2359 in v4.

Also available in: Atom PDF