Have an idea?

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

Removing the clickable element of a select option "row"

I have several select question options that use the [%PopUp()%] script and when one clicks the hyperlink the option is selected. My client doesn't like this.

Is there a way to disable the feature that selects the option when you click the "row" it's in?

asked May 31, 2016 by Colin Linerode Bronze (1,625 points)

1 Answer

0 votes
Best answer
The following code will render select item labels unclickable:

<script type="text/javascript">
    $('.select .option_cell, .select .options, .select label').click(function() { return false; });

This CSS should remove the special cursor when users hover over the labels:

<style type="text/css">
.select .option_cell, .select .options, .select label {
    cursor: default;
answered May 31, 2016 by Zachary Platinum Sawtooth Software, Inc. (206,075 points)
selected Jun 1, 2016 by Colin Linerode