Anyone, this is driving me mad.
I have an input form with 5 checkboxes. the form writes to a sql database(the fields are bit)
I then retrieve the data on another form (to amend )
The problem is I cant get any new checkbox values to write back to the database. I managed to get the boxes to display checked or unchecked but if the user checks the box, I still get the old value.
sample code for the checkbox
<input type="checkbox" name="mon" value ="<%=rs("mon"
%>" <%If rs("mon"
= "true" then response.write("CHECKED"
end if%>>
It probably really obvious but can anyone help me with the code???
Cheers
moley
I have an input form with 5 checkboxes. the form writes to a sql database(the fields are bit)
I then retrieve the data on another form (to amend )
The problem is I cant get any new checkbox values to write back to the database. I managed to get the boxes to display checked or unchecked but if the user checks the box, I still get the old value.
sample code for the checkbox
<input type="checkbox" name="mon" value ="<%=rs("mon"
It probably really obvious but can anyone help me with the code???
Cheers
moley