Have an idea?

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

None of above

Related to the above script, when i select Q2 i want all row in Q1 are in blank. Is it possible? How could i do that?
related to an answer for: Grid with Exclusive
asked Sep 15, 2016 by Saroeun

1 Answer

+1 vote
Putting this code in either question should add this functionality:

<script>
function SSI_CustomGraphicalCheckbox(graphicalCheckboxObj, inputObj, bln) {
    if (inputObj.name == 'Q2_1' && bln) {
        for (var r = 1; r <= 3; r++) {
            SSI_RadioReset('Q1_r' + r);
        }
    }
}
</script>


Like in the previous answer, "Q1" should be replaced with the grid question's name and "Q2" should be replaced with the select question's name.
answered Sep 15, 2016 by Zachary Platinum Sawtooth Software, Inc. (86,925 points)
...