Re: Quickform 2.10. Problem with date element

From: Date: Tue, 08 Apr 2003 11:45:07 +0000
Subject: Re: Quickform 2.10. Problem with date element
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-4702@lists.php.net to get a copy of this message
<carsten.bleek@gmx.de> wrote : > Hi, > > I get a fatal Error when using date elements within a group element. > Here is my example: > > http://open-hr.org/jobAdmin/test.php > > after submiting I get a: > *Fatal error*: Call to a member function on a non-object in > */home/carsten/external/pear/HTML/QuickForm/group.php* on line *273* > > This line expects an element object, but a vardump on the element returns > a: > > array(3) { ["d"]=> string(1) "1" ["M"]=> string(1) > "1" ["Y"]=> string(4) > "2001" } > > This problem occurse in combination with php-4.2.3. With php4.3.2RC1 it > works fine. BTW, this javascript works better for me: http://www.geocities.com/fuushikaden/PopupCalendar/dp-intro.htm You might want to give it a try. Bertrand Mansion Mamasam

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