Re: QuickForm, Group titles??

From: Date: Fri, 29 Aug 2003 09:35:55 +0000
Subject: Re: QuickForm, Group titles??
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-7462@lists.php.net to get a copy of this message
<keith@setuplinux.com> wrote : > 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 This information is in the documentation AFAIR. It says that GroupTemplate and GroupElementTemplate are empty by default. Up to the user to set them if she needs them. To summarize, if you are using the Default renderer which is bundled in QuickForm, you only need to set GroupTemplate and GroupElementTemplate if you want your groups to have a custom look. GroupTemplate is for the group customization as a whole. GroupElementTemplate is for the rendering of elements in the group taken individually. Both need to be set if you want your elements in your group to have a custom look. No need for HeaderTemplate in your case as this one is for form headers only. Bertrand Mansion Mamasam

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