A tool for creating branching questions on a single page (e.g., show Q2 if and only if Q1 = 1).
- Zachary Anderson
- Written for Lighthouse Studio 9.3
- Last Updated: 21 June 2017
An advanced tool that can be used to dynamically show and hide questions. Supports all question types.
- At line 14 of the footer, the
branchingarray must be filled with objects representing the nature of the intended branching:
questionis the question that will be shown or hidden depending on
testis the function to determine whether or not the branch is active.
varsis the parameter to be passed into
resultis the function result that will cause
questionto be displayed.
questionshould have its responses cleared upon being hidden.
$('#[% QuestionName() %]_div').is(':visible').
test. To complement
SSI_GetValue, I have created