[html-formfu] How to best pass the resultset object to DBIC
validator callbacks?
Carl Franks
fireartist at gmail.com
Wed Mar 11 10:50:58 GMT 2009
2009/3/11 Dan Dascalescu <ddascalescu+formfu at 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
More information about the HTML-FormFu
mailing list