Re: HTML_QuickForm instant display of an element
| From: | Alexey Borzov | Date: | Thu, 13 May 2004 06:12:21 +0000 |
| Subject: | Re: HTML_QuickForm instant display of an element | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-12452@lists.php.net to get a copy of this message | ||
Hi!
Antti wrote:
What is the correct way to just echo an element independently instead of 'collecting' the elements with addElement() and then echoing them all at once with display()? I need to add a checkbox for every table row so I can't echo the whole form at once 'cause the checkboxes are the same form.$element =& $form->createElement(...); $element->display(); you can also directly instantiate element class, without using createElement()