Trying to understand QuickForm select

From: Date: Sat, 12 Mar 2005 01:02:28 +0000
Subject: Trying to understand QuickForm select
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-18514@lists.php.net to get a copy of this message
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

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