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 WTW_cal Bronze (1,355 points)

1 Answer

0 votes
Here's an example using three items.

<script type="text/javascript">
$(document).ready(function(){
    $("#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');
})
</script>


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