Symbol (€) in mobile version vs desktop version | XM Community
Skip to main content

Symbol (€) in mobile version vs desktop version

  • November 18, 2022
  • 2 replies
  • 7 views

Forum|alt.badge.img

Hi, 
I need help with a question.
I placed a java code that allowed me to insert a symbol (€) in front of the text box. 
However, in mobile version this does not happen because the symbol appears below the text box and not on top. 
Ex: Mobile Version
image.pngEx: Desktop Version
image.png
In the desktop version is correct. 
Can you help me with this issue? 

Thanks a lot!

2 replies

Deepak
QPN Level 8 ●●●●●●●●
Forum|alt.badge.img+46
  • November 18, 2022

JoseSantos
Try the below code and let me know if it works
Qualtrics.SurveyEngine.addOnload(function()
{
/*Place your JavaScript here to run when the page loads*/



jQuery("#"+this.questionId+ " .InputText").after('');
jQuery("#"+this.questionId+ " .InputText").css('max-width','90%');


});
Hope it helps!


Forum|alt.badge.img
  • Author
  • November 18, 2022

It worked! Thank you very much for your help! 
Best regards