[TYPO3-mvc] use object-data in formhandler

Pankaj Lele pankaj at lelesys.com
Thu Jul 21 21:35:14 CEST 2011


Hello Johannes,

> Formhandler is extension that followed mailform plus.
> If I add a formfield to my fluid-template, its outside of the fieldset which is generated by formhandler. So it will not be processed.
> Any other ideas?

Try this:

<f:form name="myForm" fieldNamePrefix="tx_formhandler_xxx">
<f:form.textfield name="name" value="{item.name}" />
</f:form>

This should generate a field something like:

<input type="text" name="tx_formhandler_xxx[name]" value="xyz" />

This form will be submitted to the current page as no action=""
attribute is set for the <f:form>

Hope that helps.

-- 

With best regards,
Pankaj Lele
---------------------------

CTO & Executive Director
Lelesys Infotech Pvt. Ltd.
Pune/Goa, India

Web: http://www.lelesys.com

[Certified TYPO3 Integrator]


More information about the TYPO3-project-typo3v4mvc mailing list