Re: quickform rendering xhtml with labels etc

From: Date: Thu, 27 Oct 2005 08:42:08 +0000
Subject: Re: quickform rendering xhtml with labels etc
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-21673@lists.php.net to get a copy of this message
Hi thanks for the quick responses! I am going with Justins suggestion - I had already realised I could do that, but for a form with lots of elemens its a bit longwinded writing out the for=elmName each time, but nothing too bad I suppose. regards, Luke On 26/10/05, Luke Barker <lukebarker@gmail.com> wrote: > Hi I want to lay out my quickform with CSS. So I want to strip the TD > and TR tags added by Quickform out from the rendering. > > What is the best way to do this? I know there is QuickHTML.php method > or should I just setElementTemplate() on each element? This seems a > bit laborious, I just want to strip TD from each element, so I can lay > out the form myself. But the addition of > <label for=""> tags is confusing me, as I don't know how to set this > globally - it would help if I could do something like > <label for="{element}"> in the setElementTemplate(), but I don't think > this is possible. > > Any advice would be appreciated. I do not use Smarty or anything like that. > > Thanks, > > Luke > -- > > ~L~ > > lukebarker@gmail.com > --------------------------------------- > I'm doggone gonna be with > Some real people... > > ( Rodgers & Edwards ) > -- ~L~ lukebarker@gmail.com --------------------------------------- I'm doggone gonna be with Some real people... ( Rodgers & Edwards )

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