longmatch
Programmer
- Nov 1, 2001
- 406
I have this program with my ASP form page. When I used the session variable with other input controls such as Text, Select, it worked fine. But it did not work on Checkbox. It can not pass the value to the database backend. I would like to know why.
<TD><INPUT type="text" id=text3 name=DOB VALUE="<%= session("DOB"
%>"></TD> It works fine.
<TD><INPUT type="checkbox" id=checkbox3 name=AotherProcedure VALUE="<%= session("AnotherProcedure"
%></TD> it does not work.
When change it to
<TD><INPUT type="checkbox" id=checkbox3 name=AotherProcedure VALUE= NO></TD>
It worked.
Haijun
<TD><INPUT type="text" id=text3 name=DOB VALUE="<%= session("DOB"
<TD><INPUT type="checkbox" id=checkbox3 name=AotherProcedure VALUE="<%= session("AnotherProcedure"
When change it to
<TD><INPUT type="checkbox" id=checkbox3 name=AotherProcedure VALUE= NO></TD>
It worked.
Haijun