M
MBo
I have a web page that has a number of CheckBoxes
It uses VBScripting to check or uncheck other checkboxes automatically
Ex:
Sub Charge2_onclick
Charge1.checked = TRUE
Charge3.checked = FALSE
Charge4.value = 0
End Sub
This works fine, unless I move the CheckBoxes in a Form section. Then I get
"Object required" errors. It seems my CheckBoxes are no longer recognized as
Objetcs or Variables. Is there some way to declare these objects?
Or do I have to completely abandon VB and go for Java? Would Forms and Java
be more appropriate in this task? If so how would the same code as above
look if it were written in Java? I, being a "Java newbie", would appreciate
a simple example to get me on my way
Thanks
It uses VBScripting to check or uncheck other checkboxes automatically
Ex:
Sub Charge2_onclick
Charge1.checked = TRUE
Charge3.checked = FALSE
Charge4.value = 0
End Sub
This works fine, unless I move the CheckBoxes in a Form section. Then I get
"Object required" errors. It seems my CheckBoxes are no longer recognized as
Objetcs or Variables. Is there some way to declare these objects?
Or do I have to completely abandon VB and go for Java? Would Forms and Java
be more appropriate in this task? If so how would the same code as above
look if it were written in Java? I, being a "Java newbie", would appreciate
a simple example to get me on my way
Thanks