I don't see it, but I sure see an opportunity to rewrite that code to be a LOT clearer and a lot shorter.
First of all, though, can you explain what the / character is for in all those HTML fields?? Such as:
Code:
...name="info_tb" / size="30"...
???? That's an illegal character, so far as I can see. Zap them all.
Now a rewrite.
Code:
<style>
td.CBCell { height: 21px; background-color: white;
border-left: 0px none; border-right: 1px none; border-top: 1px solid rgb(192,192,192);
font-family: arial;
}
</style>
<td class="CBCell" colspan="3" style="width: 38%;">
<%
If objRS("information")="ON" then
chk = "checked"
display = ""
Eles
chk = ""
display = " style=""display: none;""
End If
%>
<input type="checkbox" name="information" <%=chk%>
onclick="form.info_tb.style.display=checked?'':'none'" value="ON" >
Information
<p>
<input <%=display%> type="text" name="info_tb"
size="30" value="<%objRS("info_tb")%>">
</td>
<td class="CBCell" style="width: 80%;">
<%
If objRS("instruction")="ON" then
chk = "checked"
display = ""
Eles
chk = ""
display = " style=""display: none;""
End If
%>
<input type="checkbox" name="instruction" <%=chk%>
onclick="form.instructiontb.style.display=checked?'':'none'" value="ON" >
Instruction
<p>
<input <%=display%> type="text" name="instructiontb"
size="30" value="<%objRS("instructiontb")%>">
</td>
Ehhh..the more I look at your code the more I think that the line number being reported is bogus.
If you do a VIEW-->>SOURCE on the page, where does the HTML cut off at?