Hi!
I'd like to add a header on a array question, where answer options are on a 1-9 scale; a bit like the question asked here:
www.limesurvey.org/forum/design-issues/9...-single-scale-matrix
.
Ideally, there would be a "Low priority" header centered above answers 1-2-3, "Medium priority" above 4-5-6, and "High priority" above 7-8-9.
I've been trying to use this script (adapted from the solution in the linked post) without success (nothing happens):
<script type="text/javascript" charset="utf-8">
$(document).ready(function() {
// Identify this question
var thisQuestion = $('#question{QID}');
// Insert a new row in the table head
$('table.subquestions-list thead', thisQuestion).prepend('<tr>\
<td></td>\
<th colspan="3">Low priority</th>\
<th colspan="3">Medium priority</th>\
<th colspan="3">High priority</th>\
</tr>');
});
</script>
Survey structure is attached. Please note that I use LimeSurvey Version 2.65.1+170522, with javascript enabled, and that I don't have access to the template.
Could anyone help me with this?
Thanks!
Gen