Re: Re: quickform addElement text

From: Date: Wed, 31 May 2006 13:35:39 +0000
Subject: Re: Re: quickform addElement text
References: 1 2  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-24209@lists.php.net to get a copy of this message
On 5/31/06, Mark Wiesemann <wiesemann@php.net> wrote:
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.
No need to use a different renderer even, just change the template for this element to output that instead.
3. You could do it the way it is done in docs/examples/renderer/multiple-labels.php (I would prefer this one). HTH, Mark -- PEAR General Mailing List (http://pear.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
-- Justin Patrin

« previous php.pear.general (#24209) next »