Re: QuickForm, Group titles??

From: Date: Thu, 28 Aug 2003 22:46:57 +0000
Subject: Re: QuickForm, Group titles??
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-7455@lists.php.net to get a copy of this message
Ahhh I didn't see that the text was pretty small. Ok from what I get from the Example is your creating custom Header, GroupTemplate, and GroupElementTemplates. Do I have to set all 3 elemets? I've been playing with it and it dosen't seem to work unless I set HeaderTemplate GroupTemplate and GroupElementTemplates Thanks for the help! Keith Bertrand Mansion wrote:
<keith@setuplinux.com> wrote :
Hi all, I'm using quickforms and I basically want the end result of this: ColumTitle 2 3 4
input      2  3  4
Bascially I want a be able to have 3-4 form variables in a group which I've figured out from the "addGroup" option, but i haven't figured out how to give it a title. I'd ideally like the text above what each form feild is describing it. Is this possible? Any examples? I've tried doing a group with addElement('header'...) but that didn't seem to work at all. Any suggestions/examples would be great.
Did you look at the examples in docs/ directory ? I think example 7 deals with that. Bertrand Mansion Mamasam


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