crmpicco
08-18-2005, 01:10 PM
I have this form setup, is there a way that i can have
a drop down menu with values 1-15 that will change the value of
a when changed and create the correct number of table rows?
<form name="form">
<table>
<tr><td><font class="font_heading">Mini Rules Administration</font></td></tr>
</table>
<table>
<% for a = 1 to 6 %>
<tr>
<td><font class="font">Rule Heading</font></td>
<td><input type="text" name="mini_heading" size="10" maxlength="1000"></td>
<td><font class="font">Rule Content</font></td>
<td><input type="text" name="mini_content" size="10" maxlength="1000"></td>
</tr>
<% next %>
</table>
</form>
a drop down menu with values 1-15 that will change the value of
a when changed and create the correct number of table rows?
<form name="form">
<table>
<tr><td><font class="font_heading">Mini Rules Administration</font></td></tr>
</table>
<table>
<% for a = 1 to 6 %>
<tr>
<td><font class="font">Rule Heading</font></td>
<td><input type="text" name="mini_heading" size="10" maxlength="1000"></td>
<td><font class="font">Rule Content</font></td>
<td><input type="text" name="mini_content" size="10" maxlength="1000"></td>
</tr>
<% next %>
</table>
</form>