[TYPO3-mvc] form field name collides with a previous form field name

Zalán Somogyváry zalan at gmx.net
Thu Aug 4 18:51:11 CEST 2011


Hi Stefan,

Am 04.08.2011 um 16:37 schrieb Stefan Franke:

> Dear all,
> <f:form enctype="multipart/form-data" method="POST" name="image" action="update" object="{image}" arguments="{article: '{article}', image: '{image}'}">
> 	<f:form.textbox property="title" value="{image.title}" />
> 	<f:form.textbox property="caption" value="{image.caption}" />
> 	<f:form.textbox property="credits" value="{image.credits}" />
> 	<f:form.submit value="save" />
> </f:form>

Could you try renaming the image parameter in the arguments list to something else?
e.g.: like that:

> <f:form enctype="multipart/form-data" method="POST" name="image" action="update" object="{image}" arguments="{article: '{article}', oldImage: '{image}'}">


I think this could solve your problem... because you have defined the image parameter for the form's object (see name="image") and as an argument.

Bye,
Zalán



More information about the TYPO3-project-typo3v4mvc mailing list