Re: QF and null in date elements

From: Date: Wed, 28 Jan 2004 18:07:01 +0000
Subject: Re: QF and null in date elements
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-10412@lists.php.net to get a copy of this message
<kundert@dplanet.ch> wrote : > Hi > Thanks for your advise. > This would be a anwser to this problem, but not satisfying in every case. > The user should have the opportunity to change from null to e real date if > he want this..... I only see the way to make a own date element with new > entries in every pop up with null values. But whats the simplest way to do > this.? Did you try to add an empty default value to your date element. This is possible if you use those options when defining the element: 'addEmptyOption' => true, 'emptyOptionValue' => '', 'emptyOptionText' => '&nbsp;', I haven't tested with null values but it should probably work. Bertrand Mansion Mamasam

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