- Posts: 123
- Thank you received: 9
Ask the community, share ideas, and connect with other LimeSurvey users!
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
<script type="text/javascript" data-author="Tony Partner"> $(document).on('ready pjax:scriptcomplete',function(){ // The answer codes of item(s) to be fixed var fixedEndCodes = ['9']; // Identify this question var qID = '{QID}'; var thisQuestion = $('#question'+qID); // Fix the item(s) to the end $.each(fixedEndCodes, function(i, code) { if($('ul.sortable-choice li[id$="X'+qID+code+'"]', thisQuestion).length > 0) { $('li[id$="X'+qID+code+'"]').appendTo($('ul.sortable-choice', thisQuestion)); } }); }); </script>
Please Log in to join the conversation.
Please Log in to join the conversation.