Re: Quickform_date

From: Date: Mon, 08 Sep 2003 13:53:44 +0000
Subject: Re: Quickform_date
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-7641@lists.php.net to get a copy of this message
<mikeatwork@ukonline.co.uk> wrote : > > >> -----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? IMO, the solution would be to add this feature to the existing date element, as an optional option in the constructor. Unfortunately, I am very busy ATM.. Bertrand Mansion Mamasam

« previous php.pear.general (#7641) next »