After reading the FAQs, they specifically relate to a series of checkboxes which have the same group name, I am wonering how I might get the value of the checkbox from the DB, and get the box to be checked.
I tried an If Statement, which didnt work...
Any Ideas?
Life is a journey that always ends up in the same place
I tried an If Statement, which didnt work...
Code:
<%
If IsNull(rsCheckUser("educationrecruitmentdifficulties")) Then
%>
<td width="9%">
<input type="checkbox" name="educationrecruitmentdifficulties" value="Yes">
</td>
<%
Else
%>
<%
If rsCheckUser("educationrecruitmentdifficulties") = "Yes" Then
%>
<td width="9%">
<input type="checkbox" name="educationrecruitmentdifficulties" value="Yes" checked>
</td>
<%
End If
%>
Any Ideas?
Life is a journey that always ends up in the same place