Hello, I found code on how to include a text/labels after text boxes. However, when I use it, it only shows the labels for the first statement/row. Could anyone assist in the code for it to apply to all statements/rows, please? Thank you!
Currently, my question is a matrix table with text entry. For this matrix question, there will be 4 columns for number-entry. Each statement has display logic based on responses from the previous page (there could be up to 14 statements). Columns 1-3 would have “CHWs” after. Column 4 would have “FTEs” after.
Current code:
Qualtrics.SurveyEngine.addOnload(function()
{
/*Place Your Javascript Below This Line*/
var inputs = $(this.getQuestionContainer()).select('input[type="text"]');
var my_after = ["CHWs", "CHWs", "CHWs","FTE"];
for (var i = 0; i < inputs.length; i++) {
var input = inputs[i];
$(input).insert({after: my_after[i]});
}
});
What I references so far: https://www.qualtrics.com/community/discussion/102/how-to-add-static-text-after-a-text-entry-box/p1
Thank you in advance for your time.
Question
Matrix Table's Text Entry Custom Labels per Column
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.

