Have an idea?

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

Grid checkbox with other specify

I have used two grid questions, one set to use checkbox buttons and another set to use open-ends with that one column.  Then I use combine the two grid questions with the code. I want to create logic as in this link:

https://drive.google.com/file/d/1Canz8A3dDiB7lbbKbyWfUBuTskdD3a3r/view?usp=sharing

Can you help to fix?
asked Aug 3 by Saroeun Bronze (2,715 points)

1 Answer

+1 vote
 
Best answer
To make this work for other grid input types, you just need to update line 4 of my original custom JavaScript verification to reflect the chosen input type.

Whether the fourth radio button is selected:

SSI_GetValue('[% QuestionName() %]_r' + rows[r]) == 4


Whether the fourth checkbox is checked or whether the fourth numeric / open-end is answered:

SSI_GetValue('[% QuestionName() %]_r' + rows[r] + '_c4')
answered Aug 3 by Zachary Platinum Sawtooth Software, Inc. (185,025 points)
selected Aug 3 by Saroeun
Thanks, all are working now.
...