[FLOW3-general] Access fluid form object

"Christian Müller (Kitsunet)" christian.mueller at typo3.org
Wed Jan 11 10:35:15 CET 2012


Hi Thomas,

how do your actions look like? You should expect the $newItem parameter 
in both actions but disable validation for the "form display" action.

Cheers,
Christian

On 11/01/12 10:33, Thomas Plessis wrote:
> Hi guys,
>
> I've a form for creating a new object (NOT updating). After submitting form, in case of a wrong validation, i want to display value of a textfield in a part of the page. But how to access values of the submitting form object?
> My form looks like:
>
> <f:form action="create" name="formItem" object="{newItem}" enctype="multipart/form-data" id="grands_formulaires">
>    <label for="title">Titre</label><br />
>    <f:form.textfield property="title" id="title" size="40" required="required" /><br />
>    Title = {newItem.title}
>    <f:form.submit value="Publier" class="bt_envoyer" />
> </f:form>
>
> but {newItem.title} display nothing… :/
>
> regards,
>
> Thomas Plessis
> Développeur multimédia
> --
> TOTEMnumerique
> 9, Place St Étienne
> 31000 Toulouse
> T. 05 61 14 64 54
> F. 05 61 14 64 55
>




More information about the FLOW3-general mailing list