I tried to mimic loop functionality in LS.You can do something similar. If answer is wrong I am clicking question index via script to go back to same question and storing data of each loop iteration in a hidden question.
Attached is working LS. Tested on Version 2.06+ Build 150612 with Default template.
I'd be interested to see how you got this working! I'd like to have a button that appears at the bottom of a question group (or the last question in the group) that will take the user back to a certain page/certain question group. Would this be possible?
Just had a look at the code and it seems that everything is in the Source of the wrong answer question. But not sure which elements I would need to change to customise it to my own needs?
<script>
$(function(){
$('#movenextbtn .ui-button-text').text('Add Another Item');
var $index = $('#index').hide();
$('#movenextbtn').on('click',function(event){
event.preventDefault();
$index.find('li:contains(q1)').trigger('click');
});
});
</script>