Okay, this is going to require a few steps but is doable.
For simplicity's sake, let's call the yes/no question Q1 and the multiple-options-with-comments question Q2.
1) Add token-related classnames to all of the relevant table rows in Q1. So the source of Q1 should look something like this:
2) Wrap all of the Q2 sub-questions in spans with token-related classnames. So they should look something like this:
3) Add the following script to the source of the group description. The script assigns the span classnames to their parent list item(row) and then checks the values of the relevant token attributes. If an attribute is found empty, the corresponding rows in Q1 and Q2 are hidden.
<script type="text/javascript" charset="utf-8">
$(document).ready(function(){
// Add a class to all of the multi-opt rows
$('.multiple-opt-comments li[id^="javatbd"] .option label span').each(function(i){
$(this).parents('li:eq(0)').addClass($(this).attr('class'));
});
// And now a bunch of ugly conditionals
if(!'{TOKEN:FIRSTNAME}') {$('.FIRSTNAME').hide();}
if(!'{TOKEN:LASTNAME}') {$('.LASTNAME').hide();}
if(!'{TOKEN:EMAIL}') {$('.EMAIL').hide();}
if(!'{TOKEN:ATTRIBUTE_2}') {$('.ATTRIBUTE_2').hide();}
if(!'{TOKEN:ATTRIBUTE_3}') {$('.ATTRIBUTE_3').hide();}
if(!'{TOKEN:ATTRIBUTE_4}') {$('.ATTRIBUTE_4').hide();}
if(!'{TOKEN:ATTRIBUTE_5}') {$('.ATTRIBUTE_5').hide();}
if(!'{TOKEN:ATTRIBUTE_6}') {$('.ATTRIBUTE_6').hide();}
if(!'{TOKEN:ATTRIBUTE_7}') {$('.ATTRIBUTE_7').hide();}
if(!'{TOKEN:ATTRIBUTE_8}') {$('.ATTRIBUTE_8').hide();}
if(!'{TOKEN:ATTRIBUTE_9}') {$('.ATTRIBUTE_9').hide();}
if(!'{TOKEN:ATTRIBUTE_10}') {$('.ATTRIBUTE_10').hide();}
if(!'{TOKEN:ATTRIBUTE_11}') {$('.ATTRIBUTE_11').hide();}
if(!'{TOKEN:ATTRIBUTE_12}') {$('.ATTRIBUTE_12').hide();}
if(!'{TOKEN:ATTRIBUTE_13}') {$('.ATTRIBUTE_13').hide();}
if(!'{TOKEN:ATTRIBUTE_14}') {$('.ATTRIBUTE_14').hide();}
if(!'{TOKEN:ATTRIBUTE_15}') {$('.ATTRIBUTE_15').hide();}
});
</script>
Here is a copy of your survey with the changes described above applied to the group I've renamed "Name and Address 2". You will find the JavaScript in the group description source. In this group I also modified the conditions on Q2 a bit to show the question appropriately (copied all Q1 questions to Q2 and added "if Q1 = No" o each scenario).
I have made no changes to the "Name and Address 1" or any other groups.
limesurvey_survey_64197_TONY.lss