I don't think I can do the javascript function with the rs's, is there another way? I need to send the hidden fields if AttendeeFirstName is checked.
<script type="text/javascript" language="JavaScript">
<!--
function hiddenfields() {
if (
attendeelist.AttendeeFirstName.checked == true
{
<input type="hidden" name="&CustomerNumber" value="<%=RS("CustomerNumber"%>">
<input type="hidden" name="&AttendeeLastName" value="<%=RS("AttendeeLastName"%>">
<input type="hidden" name="&City" value="<%=RS("AttendeeCity"%>">
<input type="hidden" name="&State" value="<%=RS("AttendeeState"%>">
}
}
//-->
</script>
....
<td><input type="checkbox" name="AttendeeFirstName" value="<%=RS("AttendeeFirstName"%>"></td>
<script type="text/javascript" language="JavaScript">
<!--
function hiddenfields() {
if (
attendeelist.AttendeeFirstName.checked == true
{
<input type="hidden" name="&CustomerNumber" value="<%=RS("CustomerNumber"%>">
<input type="hidden" name="&AttendeeLastName" value="<%=RS("AttendeeLastName"%>">
<input type="hidden" name="&City" value="<%=RS("AttendeeCity"%>">
<input type="hidden" name="&State" value="<%=RS("AttendeeState"%>">
}
}
//-->
</script>
....
<td><input type="checkbox" name="AttendeeFirstName" value="<%=RS("AttendeeFirstName"%>"></td>