Have an idea?

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

Constructed list for grid question

Hi,

I have a multi select question (Q2A), question direction=columns

Columns
Laptop   (Q2A_r1_c1) (Q2A_r2_c1) (Q2A_r3_c1) (Q2A_r4_c1) (Q2A_r5_c1)
Mobile   (Q2A_r1_c2) (Q2A_r2_c2) (Q2A_r3_c2) (Q2A_r4_c2) (Q2A_r5_c2)

Rows
Brand1
Brand2
Brand3
Brand4
Brand5

For Q3A, I need to show only the brands selected in Q2A. If Brand 1 is selected in Laptop and not in mobile then checkbox should appear only in Laptop column in Q3A. Is this possible?.

Please let me know.

Thanks
asked Nov 21, 2013 by Abdul Bronze (2,630 points)

1 Answer

+3 votes
Hide the checkbox in Q3a if not selected in Q2a
answered Nov 21, 2013 by Saurabh Aggarwal Gold (33,600 points)
Thanks Saurabh, actully Q3a is a single select question. I know how to hide multi select question but no idea about single select. Any idea please?

<script>
if ([%Q2A_r1_c1%] == 0)
{
document.getElementById("Q3A_r1_c1_graphical").visibility = 'hidden';
document.getElementById("Q3A_r1_c1_graphical").disabled = 'true';
document.getElementById("Q3A_r1_c1_graphical").className = 'HideElement';
}
</script>
Hide Radio button
...