QuickForm Rendering
| From: | Aidan Lister | Date: | Fri, 09 Jan 2004 02:42:24 +0000 |
| Subject: | QuickForm Rendering | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-24919@lists.php.net to get a copy of this message | ||
Is it possible to have the element name output with the default renderer? If
not, perhaps it should be added.
$form->addElement('text', 'company', 'Company:');
Looks something like:
<div>
<label>Company:</label>
<span class="element"><input name="company" type="text"
value="ANU"
class="textlong" /></span>
</div>
(With my renderer settings)
It'd be nice if I could do something like <label for="company"> for complete
W3 compliance.
{elementname} or such.
Thanks.