[TYPO3-project-formidable] How to display form fields validation errors in case on renderer:TEMPLATE?
Andres Toomsalu
andres at active.ee
Sat Jan 31 00:10:40 CET 2009
Andres Toomsalu wrote:
> How to display form fields validation errors in case on renderer:TEMPLATE?
>
> I seem not to find any elegant API way to do it...anybody has experience
> with that?
>
> Thanks in advance,
>
>
Ok - found it. For the reference:
Set errortag in TEMPLATE section as <errortag>myerrortag</errortag>
And in template use:
<div style="display: {myerrortag.cssdisplay};">
<p>Some fields have not been correctly completed:</p>
<span style="color: red;">{errors}</span>
</div>
--
----------------------------------------------
Andres Toomsalu, andres at active.ee
More information about the TYPO3-project-formidable
mailing list