I am trying to use VBScript to loop through a number of checkboxes on my form. All the checkboxes named "checnkbox1" through "checkbox10"
Here is my code:
For i=1 to 10
inField= "opt" & i
'check if checkbox is checked
if document.forms(0).inField.Checked then <--EROR HERE
I get an error "Object property or method 'document.forms(...).inField' is not supported"