Have an idea?

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

Rank labels, using text, not just numbers

Hi all,

When using a rank question, instead of the drop-down showing 1, 2, etc., is there a way to make it render "1 - Most important," "2 - Second-most important," etc?
asked Apr 7, 2016 by Colin Linerode Bronze (1,625 points)

1 Answer

0 votes
Here's an example using three items.

<script type="text/javascript">
    $("#RankingQ_div .question_body .response_body select option[value='1']").text('1 - Text 1');
    $("#RankingQ_div .question_body .response_body select option[value='2']").text('2 - Text 2');
    $("#RankingQ_div .question_body .response_body select option[value='3']").text('3 - Text 3');

"RankingQ" should be replaced with the ranking question's name.
answered Apr 7, 2016 by Zachary Platinum Sawtooth Software, Inc. (207,200 points)
Nice tip Zachary. Thanks for the handy tips mate.