[Catalyst] Re: Using Catalyst::Plugin::FormValidator::Simple

John Wang johncwang at gmail.com
Sun Nov 13 23:20:38 CET 2005


It seems like the error also exists when using FormValidator::Simple
directly with the set_invalid method. My temporary solution is to use it
directly and set the custom error with:

$result->set_result('param3,'MY_ERROR',0);

I've mentioned this to Lyo.

John

On 11/13/05, John Wang <johncwang at gmail.com> wrote:
>
> When I use Catalyst::Plugin::FormValidator::Simple's set_invalid_form
> method as shown in the POD:
>
> $c->form->set_invalid_form( param3 => 'MY_ERROR' );
>
> I get the following Catalyst exception:
>
> Caught exception "Can't locate object method "set_invalid_form" via
> package "FormValidator::Simple::Results"
>
> Is there a fix for this? I'm using Cat 5.33 and C::P::FV::Simple 0.04.
>
> Thanks.
>
> John
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.rawmode.org/pipermail/catalyst/attachments/20051113/9aaca876/attachment.htm


More information about the Catalyst mailing list