Custom verification for the numeric questions:
var notApplicableQuestion = 'SelectQ';
if ($('#[% QuestionName() %]').val() === '' && !SSI_GetValue(notApplicableQuestion + '_1')) {
strErrorMessage = 'Question must be answered or "Not Applicable" must be checked.';
}
JavaScript for the select question:
<script>
$(document).ready(function(){
SSI_CustomGraphicalCheckbox();
})
function SSI_CustomGraphicalCheckbox() {
var numericQ1 = 'NumericQ1';
var numericQ2 = 'NumericQ2';
var numerics = $('#' + numericQ1 + ',#' + numericQ2);
if (SSI_GetValue('[% QuestionName() %]_1')) {
$(numerics).val('');
$(numerics).prop('disabled', true);
}
else {
$(numerics).prop('disabled', false);
}
}
</script>
Replace "SelectQ," "NumericQ1," and "NumericQ2" with the names of the select question and two numeric questions, respectively.