Constant Sum: subset/indent statements | XM Community
Skip to main content

I currently have 2 different constant sum questions that I need to combine into one as I will be asking participants to identify the percentage of time it takes for them to perform each task and it needs to total 100%. The “issue” is that I need to have two distinct sections with headers (which is why I currently have it set to 2 different questions). Is there a way to indent or subset questions so that it could all be together in 1 constant sum question? Picture below (I know I need to edit the text question on the 2nd one as it currently does not match the first). 

 

@kgillis,

You can do something like the following:

Qualtrics.SurveyEngine.addOnload(function() {
var q = jQuery(this.questionContainer);
q.find(".Selection").eq(3).before("<li class='cg'>Job and Billing process...</li>");
q.find(".Selection .LabelWrapper").css("padding-left","1em");
});

Where eq(3) means before the fourth statement (numbering starts at 0). You can use the class ‘cg’ to style the new label(s) as needed.


Leave a Reply