in reply to Re: Data::FormValidator, Not
in thread Data::FormValidator, Not

impossiblerobot, I'll be interested to see your patch. One 'gotcha' with using the direct CGI object is that it supports multiple values for a single variable. Data::FormValidator does not currently support this, though perhaps it should.

To provide that functionality, we have to figure out if all the values should receive the same validation (that seems reasonable), and how we report the errors if some values fail but not others.

Then to be consistent, we should probably also support a way to have multi-values when passing a regular hash, perhaps with a key that points to an array reference containing multiple values.

-mark