I was wondering if this is possible with limesurvey:
I would like to present one input text and then two corresponding radio-button items, each of them in a separate tab.
So in best case, the participants sees the first question immediatly and, above this questions or somewhere else, also sees the second tab. clicking on this presents the second questions, the input text remains the same.
A attach a screenshot where the two tabs are seen as an example.
I will present this item in one group in a group-by-group-design.
The JavaScript in the source question of that question:
Code:
<script type="text/javascript" data-author="Tony Partner">
$(document).on('ready pjax:scriptcomplete',function(){
// Move the next two questions into the tabs
var thisQuestion = $('#question{QID}');
var question1 = $(thisQuestion).nextAll('.question-container:eq(0)');
var question2 = $(thisQuestion).nextAll('.question-container:eq(1)');
$('.tab-pane:eq(0)', thisQuestion).append($(question1));
$('.tab-pane:eq(1)', thisQuestion).append($(question2));
});
</script>