Re: [ANNOUNCEMENT] HTML_QuickForm-3.2.8 (stable) Released.

From: Date: Mon, 04 Jun 2007 15:11:02 +0000
Subject: Re: [ANNOUNCEMENT] HTML_QuickForm-3.2.8 (stable) Released.
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-27400@lists.php.net to get a copy of this message
PEAR Announce wrote:
The new PEAR package HTML_QuickForm-3.2.8 (stable) has been released at http://pear.php.net/. [...]
Bugfixes: * Wrong options could be selected in <select> elements if numeric strings were used as options' values (bug #10837, bug #11138) * 'checked' attribute of checkbox was not cleared if adding checkbox to a form submitted with this box unchecked (bug #11047) [...]
It seems that one of that fixes introduced a problem. Now, with a date element, a day less than 10 is not checked. Example: $form =& new HTML_QuickForm('foo'); $form->addElement('date', 'date', 'Date', array('format' => 'Y-M-d')); $defs['date'] = date('Y-m-d'); // today is june 4 $form->setDefaults($defs); -- Massimiliano Arione http://garakkio.altervista.org

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