Hi everybody,
I am trying to use the workaround for "Multiple options" question with several primary and secundary options:
However I dont really understand what I have to do in this step:
"Call the function in the source of the question with the question ID (no editing necessary), the start position of the primary sub-question and the number of secondaries to follow. So, in this example, sub-question 1 is a primary followed by 2 secondaries and subquestion 6 is a primary followed by 3 secondaries.
<script type="text/javascript" charset="utf-8">
$(document).ready(function() {
// Sub-question 1 is primary followed by 2 secondaries
secondaryCheckboxes({QID}, 1, 2);
// Sub-question 6 is primary followed by 3 secondaries
secondaryCheckboxes({QID}, 6, 3);
});
</script>
Where excatly do I need to paste this code? And how do I indicated which question in my survey actually is the one with secondary options?