HTML::FormHandler::Result->errors excludes form_errors
robrwo opened this issue · 3 comments
robrwo commented
The documentation says that errors "Returns an array of localized error strings (both field and form errors)" yet it only seems to return field errors.
robrwo commented
Is this fixed in 0.40051?
gshank commented
There's a sort of bandaid method provided, 'form_and_field_errors'. But the same issue exists with the other error methods provided by the 'error' attribute. When I added the form errors, I did it wrong when I put all of those methods in the form instead of the form's result. Now it's kind of hard to see how to fix it... but I'm still thinking about it. I think there will be a way to do it, but it's going to take a little longer.
robrwo commented
Alright.