Summing test section totals

ok figured it out for radio buttons - i move zero into qu1 if a wrong answer is selected and "1" into qu1 if correct answer. then on 'next' put "1" in summary correct var if qu1=1 else put "1" into summary incorrect var.But, it doesnt work for checkbox multiple answer questions. I need to know how many out of the total the user got right - a correct/incorrect response for the whole question is not required. So how do I count all the correct and incorrect 'final' values without them adding up as they change their minds?to go further...How can I capture the end state of a checkbox? I have thought of adding 1 to a variable each time a box is ticked or unticked. An even result will mean the box has been left in an unticked state and an odd result will mean the box has been left in a ticked state. A modulus operator could determine the remainder when the variable is divided by 2. If it is 1 then the box was checked, if zero then the box was unchecked. But Lectora has no modulus operator. Can I divide the variable by 2 and then test somehow if the result is an integer or not? If the result is not equal to its integer value then the check box was on, else not. How can I test that?Simple question: “How can I capture the end state of a checkbox?”Edited By: ganglion on 2007-5-21 2:32:49

Discussions have been disabled for this post