PEAR Forum :: PHP Extension and Application Repository

PEAR Forum Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
split group on two lines

 
Post new topic   Reply to topic    PEAR Forum Forum Index -> HTML
View previous topic :: View next topic  
Author Message
veilig



Joined: 14 Apr 2008
Posts: 7

PostPosted: Mon Apr 14, 2008 9:50 pm    Post subject: split group on two lines Reply with quote

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.
[url]http://www.golfzoo.com/-screen-scnWizardSteps(3,1)-_ispost-1-.htm[/url]

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);
Back to top
View user's profile Send private message
mark



Joined: 07 Jan 2007
Posts: 1053

PostPosted: Mon Apr 14, 2008 10:06 pm    Post subject: Reply with quote

The ElementGrid package could help you maybe to achieve the desired layout of the elements:
http://pear.php.net/package/HTML_QuickForm_ElementGrid
Back to top
View user's profile Send private message
veilig



Joined: 14 Apr 2008
Posts: 7

PostPosted: Mon Apr 14, 2008 10:08 pm    Post subject: Reply with quote

awesome, thanks for the reply! I'll look into it!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    PEAR Forum Forum Index -> HTML All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



PEAR Forum topic RSS feed 
Powered by phpBB © 2001, 2005 phpBB Group

Provided by Ministry of Web developement

'Actiemonitor' online projectmanagement software