Re: Trying to understand QuickForm select

From: Date: Mon, 04 Apr 2005 17:48:23 +0000
Subject: Re: Trying to understand QuickForm select
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-18517@lists.php.net to get a copy of this message
Hey Mark, Here's a good example --> http://www.thelinuxconsultancy.co.uk/quickform.php#doc_chap7 C.J. > I'm creating a form using the pear class QuickForms, and I have the below > date element: > > > > $form->addElement('date', 'orderdate', 'Order Date:', > array('format'=>'Y-m-d', 'minYear'=>2010, > 'maxYear'=>2001)); > > > How do I set the values of the array using the quickform format above? > > It seems that there are some setValue() functions but I'm very new to > classes and it's hard for me to understand the doucumentation without seeing > some examples of how to do things. > > Thanks, Mark > > -- > PEAR General Mailing List (http://pear.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- CJ Walsh http://odewebdesigns.com

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