[TYPO3-mvc] fluid textarea default value
Claus Due
claus at wildside.dk
Wed Feb 6 21:00:04 CET 2013
Hi Bas,
> If by "user" you mean "integrator":
After reading again the original post I see that's not what you mean.
You most likely just need this:
<f:form.textarea value="{f:if(condition: objectThatTheFormHasPosted, else: 'Your default text - but I recommend you store it in LLL or TS')}" />
You must of course ensure that the object is available in the template
variables. Or you could check for existence of form errors, if that works
in your current logic.
Cheers,
Claus
More information about the TYPO3-project-typo3v4mvc
mailing list