Hello,
I am using the following code to make changes to a previous multiple choice question with a second multiple choice. However, when you deselect an option in the middle of the second multiple choice question, it deselects the next option in line as it is moved to the location the cursor is currently on. Is there a way to fix this bug?
function matchSummary() {
var newselection=fd.field('toselected').value;
fd.field('toselected').options=newselection;
fd.field('toselected').value=newselection;
fd.field('toalltests').value=newselection;
/*
var str1 = fd.field('toselected').value;
var str2 = fd.field('toalltests').value;
var res = str1.concat(str2);
fd.field('memo').value=res;
*/
}
fd.field('toselected').$on('change', matchSummary);
matchSummary();