Checkboxes with Student feedback

Make a variable to check for correct answers and that incorrect are unselected.
In the checkbox CL:

check= this.isSelected(1) and this.isSelected(3) and this.isSelected(5)
and not( this.isSelected(2) or this.isSelected(4) )

You can then use checkboxName.script.check as a condition for note content:

content: when checkboxName.script.check "Correct"
         otherwise "Incorrect"

Many people want to wait for submission:

content: when checkboxName.submitted 
           #or button.pressCount>0 if there's no submit
           (when checkboxName.script.check "Correct"
             otherwise "Incorrect")
         otherwise "Instructions"
5 Likes