This should do the trick if all questions are on the same page.
1)
Set up your survey to use JavaScript.
2) Create the ranking question (qRank).
3) Create a short-text question (we'll call it qHidden and hide it with JavaScript later).
4) Create your conditional question (q2) and make it conditional on qHidden = 1.
5) Add the following script to the source of one of the questions or help text. Replace the following parameters in line 5-7:
- RR = your qRank ID
- HH = your qHidden ID
-'IMAP mailbox', 'POP3 mailbox' = The answers that will cause q2 to be shown
<script type="text/javascript" charset="utf-8">
$(document).ready(function(){
var qRankID = RR;
var qHiddenID = HH;
var optionArr = ['IMAP mailbox', 'POP3 mailbox']; // List of ranked options to display Q2
// Hide the hidden question
$('#question'+qHiddenID).hide();
// A listener on the ranking elements
$('#question'+qRankID+' td.label select, #question'+qRankID+' td.output img').click(function() {
var show = 0;
// Find if any of the options are in the ranked column
$('#question'+qRankID+' td.output input.text').each(function(i) {
var inputVal = $(this).val();
$.each(optionArr, function(index, value) {
if(value == inputVal) {
show = 1;
}
});
});
// Populate qHidden depending if any of the options are in the ranked column
$('#question'+qHiddenID+' input.text').val(show);
// Fire the conditions function
var hiddenInputValue = $('#question'+qHiddenID+' input.text').val();
var hiddenInputName = $('#question'+qHiddenID+' input.text').attr('name');
var hiddenInputType = $('#question'+qHiddenID+' input.text').attr('type');
checkconditions(hiddenInputValue, hiddenInputName, hiddenInputType);
});
});
</script>