Hi @tpartner
Thanks for answering,
I found this script:
<script type="text/javascript" charset="utf-8">
$(document).on('ready pjax:scriptcomplete',function(){
// Identify this question
var qID = '{QID}';
var thisQuestion = $('#question'+qID);
// Assign column-specific attributes and classnames
$('tr.subquestion-list', thisQuestion).each(function(i) {
$('> *', this).each(function(i) {
$(this).attr('data-column', i);
});
});
$('tr.subquestion-list:last td.answer-item', thisQuestion).addClass('exclusive-item');
// A function to un-check boxes
function resetCheckbox(thisItem) {
$(':hidden', thisItem).val('');
$(':checkbox', thisItem).prop('checked', false).trigger('change');
}
// Listener on the checkboxes
$(':checkbox', thisQuestion).on('change', function(e) {
if($(this).is(':checked')) {
var thisItem = $(this).closest('.answer-item');
var thisColumn = $(thisItem).attr('data-column');
var items = $('td.answer-item[data-column="'+thisColumn+'"].exclusive-item', thisQuestion);
if($(thisItem).hasClass('exclusive-item')) {
items = $('td.answer-item[data-column="'+thisColumn+'"]:not(.exclusive-item)', thisQuestion);
}
$.each(items, function(i, el) {
resetCheckbox(el);
});
}
});
});
</script>
In this post:
forums.limesurvey.org/forum/can-i-do-thi...es-all-others#208856
As I mentioned before, it works very well excluding the last row of options, but I wish it was like this for the last two.
Thanks again.