For Programmers: Free Programming Magazines  


Home > Archive > PHP Pear > May 2006 > quickform addElement text









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author quickform addElement text
cwhisperer

2006-05-31, 4:00 am

Hi,

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>

thank you for any help
A.
Mark Wiesemann

2006-05-31, 4:00 am

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
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com