This is "Custom Dropdown," correct? Try adding this script at the end of the second question's footer:
<script>
$(document).ready(runConstructedListBehavior);
$(document).on('lighthouseCheckboxChanged', runConstructedListBehavior);
function runConstructedListBehavior() {
// Params
var firstQuestion = 'CustomDropdown1';
var secondQuestion = 'CustomDropdown2';
var map = {
1: [1, 2, 3],
2: [4, 5, 6],
3: [7, 8, 9]
};
// Run
var anyChecked = false;
$('#' + secondQuestion + '_div .clickable').addClass('hiddenClickable');
$('input[name="hid_list_' + firstQuestion + '"]').val().split(',').forEach(function(item){
if (SSI_GetValue(firstQuestion + '_' + item)) {
var otherItems = map[item] || [];
otherItems.forEach(function(otherItem){
$('#' + secondQuestion + '_' + otherItem).closest('.clickable').removeClass('hiddenClickable');
});
anyChecked = true;
}
});
$('#' + secondQuestion + '_div').toggle(anyChecked);
}
</script>
In the parameters section, you can define the names of your two questions and a JavaScript object that controls the relationship between the two questions. Does that work for you?