Have an idea?

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

Constant sum show percentage symbol

Is there a way to show the '%' symbol either in or to the right of each response option box as well as for the sum total box?
asked Apr 25, 2022 by JK (320 points)

1 Answer

0 votes
Try adding this script to the page:

<script>
$(document).ready(function(){
    $('input[id^="[% QuestionName() %]_"]').after(' %');
})
</script>
answered Apr 25, 2022 by Zachary Platinum Sawtooth Software, Inc. (214,575 points)
Thanks, Zach! one more thing, is there a way to put the response options to the left of the entry boxes instead of them appearing to the right?
This should do it:

<script>
$(document).ready(function(){
    $('#[% QuestionName() %]_div tr').each(function(){
        $(this).append($(this).children().first());
    });
})
</script>
...