- Posts: 8
- Thank you received: 0
Ask the community, share ideas, and connect with other LimeSurvey users!
<script type="text/javascript" data-author="Tony Partner"> $(document).on('ready pjax:scriptcomplete',function(){ $('#question{QID} .answers-list > ul').removeClass('col-xs-12'); if($('#question{QID} .answers-list > ul').length == 2) { $('#question{QID} .answers-list > ul').addClass('col-xs-6'); } if($('#question{QID} .answers-list > ul').length == 3) { $('#question{QID} .answers-list > ul').addClass('col-xs-4'); } }); </script>