Question
checkbox counter
I am trying to create a total box to count the number of check boxes that are checked off. If a box is checked add 1 to total. if check box is unchecked remove one from the total. I have been having a little trouble getting it to work.
check boxes are named C 1 to C 25
var total = 0;
for (var i=1; i<=25; i++) {
if (this.getField("C "+i).value!="Off") {
total++;
}
}
event.value = total;
Thanks
R
