Ask the community, share ideas, and connect with other LimeSurvey users!
Doesn't the last column have any unique value we can use for some customized formatting (just guessing)?tpartner wrote: Yoy will need to use JavaScript to insert the extra column. I have already included rules to be added to template.css.
<script type="text/javascript" charset="utf-8"> $(document).ready(function() { var qID = QQ; // Reset column widths $('#question'+qID+' col').attr('width', 'auto'); // Insert new column $('<th class="spacerCell"></th>').insertBefore('#question'+qID+' table.question thead tr th:eq(3)'); $('#question'+qID+' table.question tbody tr').each(function(i) { $('td:eq(3)', this).addClass('lastCell'); }); $('<td class="spacerCell"></td>').insertBefore('.lastCell'); }); </script>
Mazi wrote: Did anyone recently test if this JavaScript works fine at the latest Limesurvey 2.05 version?
Is it cross-template compatible/does it work fine with the default template?
tpartner wrote: I have just tested in 2.05 without a problem.
mafo, what template are you using? Do you have any JavaScript errors?
.
That's it:tpartner wrote: Can you provide a link to a live test survey?
var qID = V3;
var qID = {QID};