Re: QuickForm: renderer() not rendering like I want it to
| From: | Justin Patrin | Date: | Mon, 15 Aug 2005 20:08:13 +0000 |
| Subject: | Re: QuickForm: renderer() not rendering like I want it to | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-20428@lists.php.net to get a copy of this message | ||
On 8/15/05, l Burnerheimerton <lburnerheimerton@yahoo.com> wrote:
> I copied the below code from another system that is
> working for me and modified it to meet this system's
> needs.
>
> What is happening is that the page does render but:
> 1 - it does not containt a form name/action tag
> 2 - it does not render with labels and elements
> alligned. Rather it looks like it flows them out as
> opposed to laying them out as it should.
>
> I have the following code in the quickform page:
> ...
> $renderer =& $form->defaultRenderer();
> $renderer->setFormTemplate($template);
You don't tell us what $template is. It's very hard to debug template
output without the template.
Could you also, perhaps, be missing some CSS the other page has?
--
Justin Patrin