2009/3/11 Dan Dascalescu <ddascalescu+for...@gmail.com>:
>> 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).

That's great, thanks!
Carl

_______________________________________________
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