> Instead of returning 0 on error, do:
>
>    die HTML::FormFu::Exception::Validator->new({
>        message => 'foo',
>    });
>
> This won't modify the validator's message, only that specific error's.
> Hope that's what you're after.

That worked great. I committed the solution in this thread as a best
practice for HTML::FormFu::Validator (revision 1365).

HTH,
Dan

_______________________________________________
HTML-FormFu mailing list
HTML-FormFu@lists.scsys.co.uk
http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu

Reply via email to