QuickForm
| From: | Ian Warner | Date: | Mon, 02 Apr 2007 13:40:41 +0000 |
| Subject: | QuickForm | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-26977@lists.php.net to get a copy of this message | ||
Hi
I want to add Dynamic IDs to the TR elements of the form so I can add some
effects to them
I have this in my custom render
Has anyone got any good nuggets of information to do this or best practices
Cheers
Ian
public $_elementTemplate = '
<!-- BEGIN error -->
<tr>
<td colspan="3">
<span class="text_red">{error}</span>
</td>
</tr>
<!-- END error -->
<tr>
<th width="150px">
<!-- BEGIN label_2 -->{label_2}<!-- END label_2 -->
<!-- BEGIN required --><span class="text_red">*</span><!--
END
required -->
{label}
</th>
<td>
{element}
</td>
</tr>';