Have an idea?

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

Unclickable words in multiple question

Hi everyone,

I am programming in SSI (HTML) a multiple question. Besides some list fields I added a botton where respondents can click to show a related image.

The problem I am facing is that by clicking on this button, they would automatically select the (multiple) option. How can I avoid this?

Thank you
asked Mar 6, 2020 by anonymous

2 Answers

+1 vote
Perhaps instead of clicking you can use the tool tip function to show an image when they put their mouse over the text.  I've used that on a number of programs.
answered Mar 6, 2020 by Jay Rutherford Platinum (52,770 points)
+1 vote
I haven't seen what code you might already have in place for this button, but what you're after could be done using "stopPropagation."  To start, we'd want to give an ID or class to the button, similar to this:

<button type="button" id="myButton">Click me</button>

Then apply script like this to the select question:

    // other stuff to happen on click...
answered Mar 6, 2020 by Zachary Platinum Sawtooth Software, Inc. (214,575 points)