How to solve the object required "checkMultiple" error. any idea how to disable the cmdButton7 when checkMultiple is checked and enable it when sum = 100. using VBSCRIPT.
Sub disableButton()
If checkMultiple.value = 1 Then
document.form1.cmdButton7.enabled = False
ElseIf sum = 100 Then
document.form1.cmdButton7.enabled = true
End If
End Sub
<input type="checkbox" name="checkMultiple" id="Multiple" onclick="disableButton">Multiple</input>