Quickform/HTML_Table querie
| From: | Barry Steele | Date: | Thu, 26 Jun 2003 03:32:05 +0000 |
| Subject: | Quickform/HTML_Table querie | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-6248@lists.php.net to get a copy of this message | ||
Hi all,
I'm not sure whether I'm missing more than I think or not, but I've been
trying work out how to organise data entry fields around in columns and
the like.
I have not as yet been success in uncovering HTML_QuickForm
documentation that exaplains it.
I have had a thought though and would be interested in getting the views
of others about it - perhaps (hopefully) its been done.
I am asssuming that
one can use any acceptable HTML string in a table data cell with
HTML_Table. (t/f)
using the rendering element function of HTML_QuickForm will give me that
string for am element, group of Elements, form, etc?
Something like
$myTable = new HTML_Table("words");
$myele = new HTML_QuickForm_select($..);
$myform = new ......
$myform->addElement($myel);// or whatever is correct - not the important
bit
$td_arr = $myform->renderElement($myel);
$myTable->addRow($td_arr);
--
Barry Steele <barry@hpfm.biz>
hpfm