- Posts: 22
- Thank you received: 1
Ask the community, share ideas, and connect with other LimeSurvey users!
You have to change this:Do I have to change something in the script when I'm using it in my question (except the Subheadings)?
// Define the sub-heading text strings var subHeading1 = 'Subheading 1'; var subHeading2 = 'Subheading 2'; var subHeading3 = 'My third subheading';
// Insert the new rows $('tr.subquestion-list:eq(0)', thisQuestion).before('<tr class="sub-header-row"><th colspan="'+columnsLength+'">'+subHeading1+'</th></tr>'); $('tr.subquestion-list:eq(2)', thisQuestion).before('<tr class="sub-header-row"><th colspan="'+columnsLength+'">'+subHeading2+'</th></tr>'); $('tr.subquestion-list:eq(5)', thisQuestion).before('<tr class="sub-header-row"><th colspan="'+columnsLength+'">'+My third subHeading+'</th></tr>');
Well, that's something different. So either you try to shorten your survey or you have to split it.In the meanwhile I got a new problem. I couldn't activate my survey because I've got to many subquestions in it.