[TYPO3-english] Extbase + Ajax Form Submit + Validation
Jan Kornblum
jan.kornblum at gmx.de
Thu Mar 26 00:25:40 CET 2015
Hi Jan,
> errorAction is called in case of error. You can redefine it:
>
> /**
> * Name of the special error action method which is called in case of errors
> *
> * @var string
> * @api
> */
> protected $errorMethodName = 'errorAction';
>
> So you can overload it with your custom implementation.
thanks a lot! Using your suggestion i'm able to return a vcustom json
object now...
But how can i access each properties single validation result? Like i
would do in fluid using "<f:form.validationResults>" or similar.
I've studied the original errorAction method and var_dumped a lot, but
i didn't get it...
Kind regards, Jan
More information about the TYPO3-english
mailing list