Re: quickform addElement text
| From: | Mark Wiesemann | Date: | Wed, 31 May 2006 08:28:33 +0000 |
| Subject: | Re: quickform addElement text | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-24207@lists.php.net to get a copy of this message | ||
cwhisperer wrote:
> surely an easy answer to my question:
> how do I write a text after an input field?
>
> <td><input name="txtUsername" type="text" /> is my
> username</td>
1. You could put the text element and a static element (value: "is my
username") into a group.
2. You could you use another renderer than the default one and implement
this yourself.
3. You could do it the way it is done in
docs/examples/renderer/multiple-labels.php (I would prefer this one).
HTH,
Mark