I am seeking to use SSI_SetSelect to pre-select options in a Grid question
Following the suggestion at
https://sawtoothsoftware.com/forum/2150/how-do-pre-select-check-boxes-or-radio-buttons-in-my-questions
I have this code in the footer of my grid question [called “retain”]:
<script type="text/javascript">
SSI_SetSelect("retain_r1_c1", true);
SSI_SetSelect("retain_r2_c1", true);
</script>
to pre-select the first option in rows 1 & 2.
But this doesn’t work - no options are pre-selected on the page
I have tried various formulations.
I created a Select question called “test” to check I could get pre-selection functioning for that.
This worked fine (pre-selecting option 2):
<script type="text/javascript">
SSI_SetSelect("test_2", true);
</script>
So any idea why the code isn’t working for the Grid question?
thanks
Dan