PerlOnTheWay has asked for the wisdom of the Perl Monks concerning the following question:
I only find how to validate it as 3 distinct fields:
... { date => ['year', 'month', 'day'] } => ['DATE'], ...
But now I want to validate them as a whole(stored in a single <input type="text" name="date" />) in the format xxxx-xx-xx, how to do that?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How do I validate DATE as a single field with FormValidator::Simple?
by Anonymous Monk on Aug 12, 2011 at 06:36 UTC |