Quantcast
Channel: Topics in Category: Can I do this with LimeSurvey? - LimeSurvey forums
Viewing all articles
Browse latest Browse all 17529

Partial Randomization Answers - by: tpartner

$
0
0
For that version, you will need to use a script something like this:

<script type="text/javascript" charset="utf-8">
	$(document).ready(function() {
 
		// The answer code to place in the last position
		var fixedCode = '3';
 
		// Identify this question
		var q1ID = {QID};
		var thisQuestion = $('#question'+q1ID);
 
		// Move the "fixed" row to the end
		$('.answers-list', thisQuestion).append($('div[id^="javatbd"][id$="X'+q1ID+fixedCode+'"]', thisQuestion));
 
    });
</script>

Sample survey attached:

File Attachment:

File Name: limesurvey_survey_885886_2017-07-10.lss
File Size: 14 KB

Viewing all articles
Browse latest Browse all 17529

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>