HTML_QuickForm

From: Date: Wed, 07 Sep 2005 21:14:21 +0000
Subject: HTML_QuickForm
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-20848@lists.php.net to get a copy of this message
Hi, I have the following problem. I have elements of type 'date', constructed as follows. $h[]=&$form->createElement('static','','','Start:'); $h[]=&$form->createElement('date','start',null,array('format'=>'H')); $h[]=&$form->createElement('static','','','Stop:'); $h[]=&$form->createElement('date','stop','null',array('format'=>'H','addEmptyOption'=>true,'emptyOptionText'=>'???','emptyOptionValue'=>'???')); $form->addGroup($h, null,'Start and Stop party'); How should I get values of start and stop? I tried using the exportValue method in various way: $start= $form->exportValue('start'); $st=$start['H']; ... but without success... Someone can help me? and sory for my english Regards pawel

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