Okay, here's what I would do:
1) In group 1, after your array question, create a multi-options question with the same answers and answer codes as the radio question in group 2 (we'll hide it later with JavScript).
2) Apply an array-filter to the radio question in group 2 based on the multi-options in group 1
3) Make the radio question in group 2 conditional on any of the multi-options answers in group 1 being checked
4)
BEFORE PROCEDING - test the array filter and the condition
5)
Set up your survey to use JavaScript and place the following script in the source of the multi-options. Replace "AA" (row 6) with the ID of the array question and "HH" (row 7) with the ID of the multi-options question.
<script type="text/javascript" charset="utf-8">
$(document).ready(function() {
// The question IDs
var qArray = AA;
var qHidden = HH;
// Hide the hidden question
$('#question'+qHidden+'').hide();
// Assign a class to all "high score" array radio buttons
$('#question'+qArray+' table.question tbody tr').each(function(i) {
$('input.radio', this).each(function(i) {
if (i < 6) {
$(this).addClass('highScore');
}
});
});
// Interrupt next/submit function
$('form#limesurvey').submit(function(){
// Reset the hidden question
$('#question'+qHidden+' input.checkbox').attr('checked', false);
// Check the appropriate boxes of the hidden question
$('#question'+qArray+' table.question tbody tr').each(function(i) {
if($('.highScore:checked', this).length > 0) {
$('#question'+qHidden+' li:eq('+i+') input.checkbox').attr('checked', true);
}
});
// Carry on with submit
return true;
});
});
</script>
The script will:
- hide the multi-options question
- interrupt the Next/Submit function and if any row in the array has
one of the first 6 radios selected the corresponding checkbox in the multi-options question is checked.
The array filter should then display only the corresponding option in the radio question in group 2.