Re: QuickForm and date type
| From: | Charles Kline | Date: | Thu, 20 Mar 2003 18:42:26 +0000 |
| Subject: | Re: QuickForm and date type | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-4342@lists.php.net to get a copy of this message | ||
Cool. Just in case anyone else was interested:
$form->addElement('date', 'dateTest1', 'Date1:', array('format'=>'dmY', 'minYear'=>2000, 'maxYear'=>2004));
On Thursday, March 20, 2003, at 01:38 PM, Charles Kline wrote:
Thanks. I did look, must have missed it... better look harder :) On Thursday, March 20, 2003, at 01:36 PM, Bertrand Mansion wrote:<ckline@rightcode.net> wrote :-- PEAR General Mailing List (http://pear.php.net/) To unsubscribe, visit: http://www.php.net/unsub.phpHi all, Is there a way to tell QuickForm to start the year field at 2003 when you create a date type item in my quickform? thanks, charlesI think there is an example in the examples. Something like maxyear... Cheers, Bertrand Mansion Mamasam