Have an idea?

Visit Sawtooth Software Feedback to share your ideas on how we can improve our products.

follow-up on branching

This is what I have. It seems to not be working yet...

<script>
var GLOBAL_SAWTOOTH_[% QUESTIONNAME() %]_SETTINGS = {
    branchings: [
            {
                dependentQuestion: 'L2b',
                condition: function() {
                    return SSI_GetValue('L1')!=1;
                }
                selectMinimum: 1
            },
            {
                dependentQuestion: 'L3',
                condition: function() {
                    var resp = SSI_GetValue('L1');
                    return resp==4 || resp==5 || resp==7 || resp ==8;
                }
                  selectMinimum: 1
            },
            {
                dependentQuestion: 'L41',
                condition: function() {
                    return SSI_GetValue('L1')!=1
                }
                  selectMinimum: 1
            },
            {
                dependentQuestion: 'L42',
                condition: function() {
                    var resps = SSI_GetValue('L1');
                    return resps==2 || resps ==3 || resps==4;
                }
                  selectMinimum: 1
            },
            {
                dependentQuestion: 'L43',
                condition: function() {
                    return SSI_GetValue('L1')==2
                }
                  selectMinimum: 1
            }
    ],
    errorMessageSettings: {
        missingAnswer: 'A response is required.',
        minimumChecks: 'The minimum number of checks is [MINIMUM].',
        minimumCharacters: 'The response must contain at least [MINIMUM] characters.'
    }
};
related to an answer for: branching issue
asked Jan 26 by sallen Bronze (905 points)

Your solution to the original question

Please only use this to answer the original question. Otherwise please use comments.
Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:

To avoid this verification in future, please log in or register.
...