Have an idea?

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

Multi select

Hi,

I have a multi-select question with one exclusive answer. Is it possible to make the exclusive alternative look like a zero? Like when you have single select.

Thanks.

Line
asked Feb 1, 2021 by Linebje (420 points)

1 Answer

0 votes
Hi Line,

Please copy the below css in the header of the required question.

<style>
.clickable.response_row:nth-child(5) .checkbox
{    
     background: url("[%GraphicsPath()%]radiobutton_unselected.png") no-repeat center center !important;
}

.clickable.response_row:nth-child(5) .checkboxselected
{    
     background: url("[%GraphicsPath()%]radiobutton_selected.png") no-repeat center center !important;
}
</style>


where radiobutton_selected.png is the selected radio button image and radiobutton_unselected.png is the unselected radio button image, both images to be kept in the graphics folder.

Also, change 5 in child(5) with the option number of exclusive response.

Thanks,
Rahul Mittal
answered Feb 1, 2021 by Rahul Mittal Gold (11,860 points)
Thanks! :) Do you also have the same working with grid? So that column 5 and 6 get the pictures, for all rows
...