Symbol in front of "text entry" | XM Community
Skip to main content

Hi,
I have two questions:
1- In a "Pick, Group and Rank" question I need to change the word "Items" to "Options". How can I do this?
2- A second question concerns a "Text entry" question. I would like to put a "€" symbol in front of the text box to help the respondent understand. It could be inside or outside, I just need to put that symbol somewhere. How can I do this?
Many thanks.
Best regards,

JoseSantos
You can do this with below

  1. Pick Group Rank:

Qualtrics.SurveyEngine.addOnload(function()
{
/*Place your JavaScript here to run when the page loads*/
jQuery('td.itemsContainerTd>div>h2')[0].innerText='Options';

});
2Text Entry
Qualtrics.SurveyEngine.addOnload(function()
{
/*Place your JavaScript here to run when the page loads*/
jQuery("#"+this.questionId+ " .InputText").attr("placeholder","€");

});
Hope it helps!


Thanks a lot for the help!

I have only 1 more question to finish my survey, if you can help me. 

The "€" symbol is in front of the text box and it looks fine but only on the desktop version. In the mobile version it appears below the text box. Can I adjust the size just for the mobile version? So that it is also in front of the text box. 

Excellent help, thank you! 


JoseSantos
I am unable to recreate this issue. As in my mobile it's appearing the same as desktop version.
Do you mind checking if any CSS is causing this issue.
Mobile:
Screenshot_2022-11-18-17-58-10-60_40deb401b9ffe8e1df2f1cc5ba480b12.jpg
Desktop:
image.pngHope it helps!


Leave a Reply