Radiobuttons, by definition, only allow one option to be selected at a time. If you want more than one to be selected at the same time you'll need to use checkboxes instead.
So, if your passage has something like this:
<input type="checkbox" id='cb1' class='chkGroup'> Check1
<input type="checkbox" id='cb2' class='chkGroup'> Check2
<input type="checkbox" id='cb3' class='chkGroup'> Check3
<input type="checkbox" id='cb4' class='chkGroup'> Check4
Then put this in your JavaScript:
$(document).on(':passagedisplay', function (ev) {
var checks = document.querySelectorAll(".chkGroup");
var max = 2;
for (var i = 0; i < checks.length; i++) {
checks[i].onclick = selectiveCheck;
}
function selectiveCheck (event) {
var checkedChecks = document.querySelectorAll(".chkGroup:checked");
if (checkedChecks.length >= max + 1)
return false;
}
});
That should prevent more than two checkboxes from being selected.