RE: [PEAR] Quickform_date
| From: | Mike Carter | Date: | Mon, 08 Sep 2003 13:07:26 +0000 |
| Subject: | RE: [PEAR] Quickform_date | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-7638@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> From: Barry Steele [mailto:barry@hpfm.biz]
>
> Hi,
> I amd using QuickForm_Date in a number of places and I want
> to ensure that the user enters a valid date, so I've set a
> minimum and maximum date. This work quite nicely except that
> if no action is taken by the user, then I get the minimum
> date returned.
>
> Can I set the default date to null and add a mondatory rule
> to the field?
>
> I'd rather this than assume that the minimum date == no entry.
I to am having the same problem here and would like to know what
solution there could be made available? Maybe an "advdate" element to
cover this problem?
- mc
________________________________________________________________________
This email has been scanned for all viruses by the MessageLabs Email
Security System. For more information on a proactive email security
service working around the clock, around the globe, visit
http://www.messagelabs.com
________________________________________________________________________