Can anyone help me ?
I am using the oohforms class for generating forms. It works great for static forms.
However I am now trying to generate dynamic checkboxes within an HTML table and I cannot seem to get the object function $vd->show_element('check') to show where I want it. Instead it just lines the checkboxes up along the top of the page.
When $vd->show_element('check') is embedded in side HTML normally it works fine. Help me please !!!!
-----code-----
while ($row = mysql_fetch_array($result)) { $pe = stripslashes(trim($row['PE_Data']));
$display .= "<table width='100%' border='0' cellspacing='0' cellpadding='0'>
<tr>
<td width='46%' align='right'>$pe</td>
<td width='54%'>" . $vd->show_element('check') . "</td>
</tr>
</table>";
$vd->add_element(array("name"=>"check",
"type"=>"checkbox",
"value"=>"$pe",
"multiple"=>1));
}
Thanks
Ryan