Hey, Not sure if I understand your problem, but why don't you just use $c->validation? Have a look here for more information and examples: https://metacpan.org/pod/distribution/Mojolicious/lib/Mojolicious/Guides/Rendering.pod#Form-validation
Which version of Mojolicious do you have? Run "mojo version" to check the version. On Saturday, December 3, 2016 at 1:55:41 PM UTC+1, amka...@gmail.com wrote: > > And when I put > > my $names = $validation->failed; > > I have this message : > > Can't locate object method "failed" via package > "Mojolicious::Validator::Validation" at > /home/amka/job/RAD/mojo/03/script/../lib/MyApp/Controller/En.pm line 35. > > > -- You received this message because you are subscribed to the Google Groups "Mojolicious" group. To unsubscribe from this group and stop receiving emails from it, send an email to mojolicious+unsubscr...@googlegroups.com. To post to this group, send email to mojolicious@googlegroups.com. Visit this group at https://groups.google.com/group/mojolicious. For more options, visit https://groups.google.com/d/optout.