[FLOW3-general] Get errors from forms
Dawid Pacholczyk
dpacholczyk at gmail.com
Tue Aug 9 23:01:24 CEST 2011
Ofc I missed the chapter about validation and loops with error object :)
Cool !
Best regards,
Dawid Pacholczyk
W dniu 2011-08-09 22:54, Dawid Pacholczyk pisze:
> Hi List,
> I`m wondering how can I receive the errors from form while creating new
> record in db ?
>
> For example in my model I have adnotation like this one:
>
> @validate Text, StringLength(minimum = 3, maximum = 80)
>
> When I type something shorter I get:
>
> An error occurred while trying to call
> Test\Core\Controller\UserController->createAction()
>
> How can I catch the error ? I was looking something like try {} catch
> but it didn`t help :(
>
> Best regards,
> Dawid Pacholczyk
More information about the FLOW3-general
mailing list