tags:

views:

23

answers:

0

Hi all,

needs help with this problem

Errors: Product required "disableButton" and product required "checkMultiple"

Sub disableButton_onclick <br>
If document.form1.checkMultiple.value = 1 Then<br>
document.form1.cmdButton7.enabled = False<br>
ElseIf sum = 100 Then<br>
document.form1.cmdButton7.enabled = true<br>
End If <br>
End Sub<br>
<input type="checkbox" name="checkMultiple" id="Multiple" onclick="disableButton">Multiple

i need to disable cmdButton7 when checkbox "checkMultiple" is checked and enable the button again when sum = 100, using vbscript..

thanks all for the help.