To have a checkbox show or hide the next row use the following:
<% input.setParam "onclick", "cpt_showHideNextRow();" %>
<% input.setParam "noerase", "1" %>
<td colspan="2"><% input.checkbox "related_link_popup", "on", related_link.item("related_link_popup") %> Popup</td>
</tr>
<tr <%= util.visibility(related_link.item("related_link_popup"), "on") %> bgcolor="#F0F0F0">
<% input.setParam "onclick", "cpt_showHideNextRow();" %>
<% input.setParam "noerase", "1" %>
<td colspan="2"><% input.checkbox "related_link_popup", "on", related_link.item("related_link_popup") %> Popup</td>
</tr>
<tr <%= util.visibility(related_link.item("related_link_popup"), "on") %> bgcolor="#F0F0F0">
Comments