Re: QuickForm - Multiple Input Fields Per Row

From: Date: Wed, 19 Mar 2003 22:39:58 +0000
Subject: Re: QuickForm - Multiple Input Fields Per Row
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-4320@lists.php.net to get a copy of this message
<jkaufman@wamnet.com> wrote : > I just started using QuickForm. It appears that as I add elements, the > form displays vertically, each new field below the previous one. > > Is there a way to control the layout such that I can have three columns > of data displayed, some lines having all three, others might have > fewer, but with colspan adjusted. > > Currently: > > Name: [ ] > Phone: [ ] > Email: [ ] > Something: [ ] > > I want: > > Name Phone Email > [ ] [ ] [ ] > > Something [ ] You can set element templates using setElementTemplate() or use a group for your first three elements or give a try to the CVS version that support ITX templates (but you will have to get the ITX fork as well because the current ITX is incomplete). Bertrand Mansion Mamasam

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