Pear formatting question
| From: | James Reinke | Date: | Tue, 28 Mar 2006 01:07:16 +0000 |
| Subject: | Pear formatting question | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-23462@lists.php.net to get a copy of this message | ||
Greetings all.
I've been using QuickForms for a week or two and I'm
really liking it. I'm attempting to customize/format
a few pages using and I'm running into formatting
issues. I figure maybe if someone out there could
offer some advice, I'd greatly appreciate it. I've
learned from this package it sometimes requires out of
the box thinking, and I need to become more accustomed
to this. In any case, here is what I'm wondering:
1) I'm trying to insert raw HTML directly after an
input field but am unable to figure out a way. If I
wanted to insert a "<br />" directly after the input,
such that this input:
<input name="Login" type="text" />
Becomes:
<input name="Login" type="text" /><br />
Is there any easy/plausible way to do this without
modifying the library functions?
I've used both
$form->addElement('static','info','<br />');
and
$form->addElement('html','<br />');
But the problem with these is that it just adds
another <tr><td><br /></td></tr> _after_ the form.
2) In addition to this, when I insert static/html
using the aforementioned method (or any method for
that matter) QuickForms adds the bold tag (<b>Stuff
Here</b>) automatically, and I haven't found a way to
disable this. If anybody can help that would be great!
_____________________
James Reinke
CLEVERSAFE
MOBILE 847.340.7581
jreinke@cleversafe.com
_____________________