Hi,
I'd like to change the text at the bottom of a matrix constant sum question from "Total" to something else. Javscript isn't my forte--how could I do this?
Thanks!
Page 1 / 1
Is Total on the right or bottom?
Add this to the addOnload function:
```
jQuery("#"+this.questionId+" .c1:last").html("New Total Label");
```
```
jQuery("#"+this.questionId+" .c1:last").html("New Total Label");
```
Hi, i have the same problem but the code does not work in my case. I did it in the following way: !
did i make a mistake?
did i make a mistake?
> @_Hannah1073 said:
> Hi, i have the same problem but the code does not work in my case. I did it in the following way: !
>
> did i make a mistake?
>
It appears Qualtrics has made a change to the html structure since this question and answer were originally posted. Try this instead:
```
jQuery("label[for="+this.questionId+"_Total]").html("New Total Label");
```
> Hi, i have the same problem but the code does not work in my case. I did it in the following way: !
>
> did i make a mistake?
>
It appears Qualtrics has made a change to the html structure since this question and answer were originally posted. Try this instead:
```
jQuery("label[for="+this.questionId+"_Total]").html("New Total Label");
```
Dear Tom, thanks for your help. Unfortunately this one does not work in my case either to override the standard label.
I used: Qualtrics.SurveyEngine.addOnload(function()
{
jQuery("label[for="+this.questionId+"_Total]").html("New Total Label");
});
Any clues?
I used: Qualtrics.SurveyEngine.addOnload(function()
{
jQuery("label[for="+this.questionId+"_Total]").html("New Total Label");
});
Any clues?
@_Hannah1073,
Start a new thread and post _details_ on your specific constant sum question (e.g., settings, image, etc.).
Start a new thread and post _details_ on your specific constant sum question (e.g., settings, image, etc.).
Is there a code to change the total label in a constant sum matrix table with the Total column on the right?
> @YaelC said:
> Is there a code to change the total label in a constant sum matrix table with the Total column on the right?
Start a new thread.
> Is there a code to change the total label in a constant sum matrix table with the Total column on the right?
Start a new thread.
Leave a Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.