Remove the "Items" label from Pick, Group and Rank Question. | XM Community
Solved

Remove the "Items" label from Pick, Group and Rank Question.


Hi,

Is there a custom code to remove or edit the "Items" header of in the Pick, Group and Rank Question.

This can be seen below.

!

Thanks you!
icon

Best answer by TomG 7 May 2018, 15:42

View original

10 replies

Userlevel 7
Badge +27
```
jQuery("#"+this.questionId+" div.Items h2").hide();
```
> @TomG said:
> ```
> jQuery("#"+this.questionId+" div.Items h2").hide();
> ```

Hi Tom, thank you for the response.
Where exactly do I add this?
Userlevel 7
Badge +27
Add to the question's addOnload JavaScript function.
Badge +1

Bumping this question.
TomG How do you edit the text for "Items"?

Userlevel 7
Badge +27

Trev - Try:
jQuery("#"+this.questionId+" div.Items h2").html("New text here");

Badge +1

ARG, thank you!!! I was trying to use .innerHTML = "text".

Userlevel 7
Badge +27

.innerHTML works with html elements, not jQuery objects.

Badge +2

TomG Thanks! Is there a way to bold the "New Text Here" change?

Userlevel 7
Badge +27

https://community.qualtrics.com/XMcommunity/discussion/comment/42881#Comment_42881Just add a bold tag to the text:
.html("New Text Here")

Badge +2

TomG Thanks!

Leave a Reply