| Justin Patrin 2005-10-27, 3:56 am |
| On 10/26/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=3D""> 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=3D"{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 tha=
t.
>
Set the global element template by not specifying an element name in
setElementTemplate. Then set the form, group, and any other templates
you need to.
--
Justin Patrin
|