SilasTheMonk has asked for the wisdom of the Perl Monks concerning the following question:
I am puzzled by the 'required_regexp' option in Data::FormValidator. I have a form where the number of input boxes is determined by the number of rows in a database table. So this seemed to be the perfect way of ensuring that all the input boxes were filled in. However the validator is passed a structure listing a set of CGI parameters that are actually present not those that are present on the form. As such this just seems not to make any sense. It seems to me it is better to generate the profile including an array of required fields.
Edit: I think I may have been misled by trying to debug a CGI script again on the command line. I'm not sure. I need to do some experiments with that.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Is required_regexp in Data::FormValidator well thought out
by SilasTheMonk (Chaplain) on Dec 28, 2009 at 22:45 UTC | |
|
Re: Is required_regexp in Data::FormValidator well thought out
by Anonymous Monk on Dec 25, 2009 at 01:11 UTC |