I need the items that were already checked to appear checked when they open the form again for updates. However the way I have the code it only returns the first one that it finds. I need it to look for each of the three options and have them checked if they are in the field.
Here is what I have:
<input type="checkbox" name="ItemType" value="Multiple Choice" <% If objCmd("ItemType") = "Multiple Choice" Then response.write "checked" %>>Multiple Choice<br>
<input type="checkbox" name="ItemType" value="True False" <% If objCmd("ItemType") = "True False" Then response.write "checked" %>>True-False<br>
<input type="checkbox" name="ItemType" value="Alternate Choice" <% If objCmd("ItemType") = "Alternate Choice" Then response.write "checked" %>>Alternate Choice
Does anyone have any ideas?
Thanks.
Here is what I have:
<input type="checkbox" name="ItemType" value="Multiple Choice" <% If objCmd("ItemType") = "Multiple Choice" Then response.write "checked" %>>Multiple Choice<br>
<input type="checkbox" name="ItemType" value="True False" <% If objCmd("ItemType") = "True False" Then response.write "checked" %>>True-False<br>
<input type="checkbox" name="ItemType" value="Alternate Choice" <% If objCmd("ItemType") = "Alternate Choice" Then response.write "checked" %>>Alternate Choice
Does anyone have any ideas?
Thanks.