Have an idea?

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

Add text to the first cell of last row of the choice task in ACBC

For my ACBC choice task section, I want to add text to the cell next to the radio buttons telling respondents to select their preferred option. I can tell the element I want to change is: .acbc_choicetask .acbc_task_bottom_row, but I have no idea how to go about doing this.
asked Feb 2 by KKing (145 points)

1 Answer

0 votes
You will want to use ".acbc_task_bottom_row".  That will get us the whole bottom row.  If we add "> td:first-child" after that, we'll be selecting the first td (the first cell) of the bottom row.

Then we can just use jQuery's text function to set the text:

<script>
$(document).ready(function(){
    $('.acbc_task_bottom_row > td:first-child').text('Lorem ipsum')
})
</script>
answered Feb 2 by Zachary Platinum Sawtooth Software, Inc. (79,700 points)
...