Have an idea?

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

Concept labels in ACBC

With CBC there is an option under the format tab to show concept labels. Setting up my first ACBC study and trying to add concept labels to the  screener and choice task questions but can't find the option to show concept labels?
asked Jul 24, 2018 by PaulKallis Bronze (1,005 points)

1 Answer

0 votes
 
Best answer
Try adding this to your Screener and Choice questions:

<style>
.acbc_screener .inner_table,
.acbc_choicetask .inner_table {
    border-right-width: 0px;
}

.acbc_screener .inner_table > tbody > tr:not(.acbc_concept_labels) > td:last-child,
.acbc_choicetask .inner_table > tbody > tr:not(.acbc_concept_labels) > td:last-child {
    border-right-width: 1px;
    border-right-style: solid;
}

.acbc_concept_labels > td {
    border-left-width: 0px !important;
    border-right-width: 0px !important;
    border-top-width: 0px !important;
}
</style>

<script>
$(document).ready(function(){
    var conceptLabels = ['Concept A', 'Concept B', 'Concept C'];
    
    var html = '<tr class="acbc_concept_labels"><td></td>';
    conceptLabels.forEach(function(conceptLabel){
        html += '<td>' + conceptLabel + '</td>';
    });
    html += '</tr>';
    $('.acbc_task_top_row').before(html);
})
</script>


Line 22 should be updated with a comma-delimited list of the concept labels to be shown for the question.
answered Jul 24, 2018 by Zachary Platinum Sawtooth Software, Inc. (121,200 points)
selected Jul 25, 2018 by PaulKallis
thanks Zachary
...