Well, assuming the two questions have identical answer labels, inserting the following script in the source of Q2 will:
1) Hide Q2
2) Check the same radio button in Q2 as was checked in Q1 (on previous page)
The script gets the answer to Q1, finds an identical answer label in Q2 and checks the corresponding radio button.
Replace the following
- SSSSS = survey ID
- GG = group 1 ID
- 11 = Q1 ID
- 22 = Q2 ID
<script type="text/javascript" charset="utf-8">
$(document).ready(function() {
var q1Ans = '{INSERTANS:SSSSSXGGX11}';
var q2ID = 22;
// Hide the hidden question
$('#question'+q2ID+'').hide();
// Check the same option in Q2 as was checked in Q1
var el = $('#question'+q2ID+' label').filter( function (index) { return $(this).text() == q1Ans; })
$(el).siblings('input.radio').attr('checked', true);
});
</script>