Re: add two groups as one
| From: | Bertrand Mansion | Date: | Thu, 17 Apr 2008 14:15:59 +0000 |
| Subject: | Re: add two groups as one | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-28806@lists.php.net to get a copy of this message | ||
Le 14 avr. 08 à 21:43, veilig a écrit :
I need two groups of elements that need to be 1 group but on seperate lines EXACTLY like this: its the golf step on the form. you have to submit the first form and then you will see step #3 is the one I'm referring to. http://www.golfzoo.com/-screen-scnWizardSteps(3,1)-_ispost-1-.htm http://www.golfzoo.com/-screen-scnWizardSteps(3,1)-_ispost-1-.htm How do I go about doing this? //Group1 $golf[] =& $this->createElement('select', 'amGolfers', null, $golfers); $golf[] =& $this->createElement('select', 'amTeeTime', null, $morning); $golf[] =& $this->createElement('select', 'amCourse', null, $courses); //Group 2 $golf[] =& $this->createElement('select', 'pmGolfers', null, $golfers); $golf[] =& $this->createElement('select', 'pmTeeTime', null, $evening); $golf[] =& $this->createElement('select', 'pmCourse', null, $courses); $this->addGroup($golf, null, $prettyPrint, ' ', false);RTFM for the separator parameter. -- Bertrand Mansion Mamasam Work : http://www.mamasam.com Blog : http://golgote.freeflux.net