How to use JavaScript for shadow text in a text box for translations | XM Community
Skip to main content

hello,
I have this code snipet provided by a few memebers here that works great for shadow text in a verbatim text box. The code basically displays until you start typing. The only issue I have now is I can't figure out how to translate it into different languages. Any thoughts on this? Below works for English Only.

Qualtrics.SurveyEngine.addOnload(function() {  
    jQuery("textarea").attr("placeholder","Start typing to provide your feedback.");
});

What do you mean by The only issue I have now is I can't figure out how to translate it into different languages?


Ahmed,It works for English only not in other languages.I would like for that shadow text to appear in the language the survey is in. Like Spanish, etc. I have 9 different translations. Thanks!


Leave a Reply