I had a little time and came up with this JavaScript solution (using the sample survey from your other thread) which drastically improves the page-load and control element reaction times.
1) Add an "N/A" answer option to the filtered array (to be hidden with JS).
2) Remove the LimeSurvey filter from the filtered array.
3) Move the hidden multiple-choice and the "maskSetter" questions to the same group as the filtered array - directly preceding it.
4)Add the following script to the source of the filtered array (I think the comments explain what's going on):
Code:
<script type="text/javascript" charset="utf-8">
$(document).ready(function(){
// Identify the questions
var thisQuestion = $('#question{QID}');
var hiddenQuestion = $(thisQuestion).prevAll('.multiple-opt:eq(0)');
var thisQID = $(thisQuestion).attr('id').replace(/question/, '');
var hiddenQID = $(hiddenQuestion).attr('id').replace(/question/, '');
// Hide the filtering question
hiddenQuestion.hide();
// Remove extra array headers
$('table.subquestion-list tbody:first', thisQuestion).append($('tr.answers-list', thisQuestion));
$('table.subquestion-list tbody:gt(0)', thisQuestion).remove();
// Loop through all answer rows and assign fake "relevance"
$('tr.answers-list', thisQuestion).each(function(i) {
var thisCode = $(this).attr('id').split('X'+thisQID)[1];
var hiddenValue = $('input.checkbox[id$="X'+hiddenQID+thisCode+'"]', hiddenQuestion).prop('checked');
$(this).attr('data-relevance', hiddenValue);
});
// Hide the "N/A" column
$('table.subquestion-list tr > *:last-child, col:last', thisQuestion).addClass('na').hide();
var answersWidth = (($('table.subquestion-list', thisQuestion).width()-$('th.answertext:first', thisQuestion).width())/$('table.subquestion-list', thisQuestion).width())*100;
var answersCount = $('tr.answers-list:first td.answer-item:not(.na)', thisQuestion).length;
var answerColWidth = answersWidth/answersCount;
$('col:not(.col-answers):not(.na)', thisQuestion).css('width', answerColWidth+'%');
$('col.na', thisQuestion).css('width', '0%');
// Click "N/A" in all "non-relevant" rows
$('tr.answers-list td.na input.radio', thisQuestion).prop('checked', false);
$('tr.answers-list[data-relevance="false"] td.na input.radio', thisQuestion).trigger('click');
// Hide all "non-relevant" rows
$('tr.answers-list[data-relevance="false"]', thisQuestion).hide();
});
</script>
Modified sample survey attached: