Have an idea?

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

ACBC BYO attribute labels presented over attribute levels

I am planning ACBC study with summed price.
On mobile devices when presenting both attribute labels and levels BYO needs a lot of scrolling. Att Labels are presented in the column next to level column and the width of level column gets limited and longer level texts need many lines.
Is there any chance to present the att labels not in the column next to level column but in the additional row above the row with the first level of each attribute?
asked Nov 15 by RafalNeska Bronze (770 points)

1 Answer

0 votes
 
Best answer
Please try adding this script to your BYO and see if it's close to what you're after:

<style>
#[% QuestionName() %]_div .inner_table > tbody > tr > td:first-child {
    display: none;
}
</style>

<script>
$(document).ready(function(){
    $('#[% QuestionName() %]_div .byo_att_row').each(function(){
        $(this).children().eq(1).prepend($(this).children().eq(0).find('.label_text'));
    });
})
</script>
answered Nov 17 by Zachary Platinum Sawtooth Software, Inc. (212,950 points)
selected Nov 18 by RafalNeska
It is great:), Thank you
...