- Posts: 74
- Thank you received: 1
Ask the community, share ideas, and connect with other LimeSurvey users!
5. Overall, how would you rate your customer service experience? <script type="text/javascript" charset="utf-8">
$(document).ready(function(){
// ADD HEADER ROW
var thisQuestion = $('#question{QID}');
// Insert the new header row
$('table.subquestions-list thead', thisQuestion).prepend('<tr class="new-header">\
<td> </td>\
<th colspan="6" style="text-align:left;">Not at all important</th>\
<th colspan="5" style="text-align:right;">Extremely important</th>\
<th></th>\
</tr>');
// HIDE SUB-QUESTION
var thisQuestion = $('#question{QID}');
// Hide the sub-question column
$('.subquestions-list .col-responses .col-answers', thisQuestion).hide();
$('.subquestions-list thead td', thisQuestion).hide();
$('.subquestions-list .answertext', thisQuestion).hide();
});
</script>