Have an idea?

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

Indent some radio buttons and text


Is there any way to indent some radio buttons with text, but not indent all radio buttons with text on the same question?  This is on a Select question.

asked Jan 9, 2018 by Bryan
You want some of the radio buttons to appear a bit more to the right than the other radio buttons?
Exactly Zachary.

1 Answer

+1 vote
Try adding this to your select question:

    var indentedItems = [1, 5, 8];
    var indent = '100px';
        $('#[% QuestionName() %]_' + item).closest('.response_row').css('padding-left', indent);

Update line 3 with the items you want indented.  Update line 4 with the indent you want.
answered Jan 10, 2018 by Zachary Platinum Sawtooth Software, Inc. (100,575 points)
This worked great.  Thanks a lot.