Re: QC question: how to add a horizontal line break inside of a form
| From: | John Zhao | Date: | Wed, 24 Mar 2004 15:58:13 +0000 |
| Subject: | Re: QC question: how to add a horizontal line break inside of a form | ||
| References: | 1 2 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-11475@lists.php.net to get a copy of this message | ||
Thanks!! Yes, I made mistake and meant QF. Also this worked too:
$form->addElement('static', 'section_line', null, '<hr/>');
"Negora" <negora@dotgeek.org> wrote in message
news:opr5dhi7sxjm5uii@localhost...
> John,
>
> Not sure how you need it, but this might work:
>
> assuming your QF object is called $F
>
> $F->addElement('html','<tr><td colspan="2">Add whatever
> HTML here,
including <HR></td></tr>');
>
> This will however only work with the default QF renderer, which outputs
the form in a table of two columns.
>
> Hope this helps. Hope you meant QF and not QC too :)
>
>
> On Wed, 24 Mar 2004 09:16:51 -0500, John Zhao <jzhao@pharmetrics.com>
wrote:
>
> > I am new to QC, and wish to add horizontal line break 'below certain
> > element' within a form. Is it possible? thanks!!
> >
> > John