Hi! I'm trying to insert "$" and "%" signs behind responses boxes in matrix tables to make the metrics more clear for survey takers. I've heard this might require Javascript. Does anyone know how to execute on this, or have any other ways in mind to accomplish this? Thanks!
Page 1 / 1
Use the below code:
jQuery("#"+this.questionId+" input[type='text']").attr("placeholder","$");
Thanks! Can you share where I would enter this in the Javascript sequence that's already there? For example:
Qualtrics.SurveyEngine.addOnload(function()
{
/*Place your JavaScript here to run when the page loads*/
});
Qualtrics.SurveyEngine.addOnReady(function()
{
/*Place your JavaScript here to run when the page is fully displayed*/
});
Qualtrics.SurveyEngine.addOnUnload(function()
{
/*Place your JavaScript here to run when the page is unloaded*/
});
In onReady function as shown below:
Leave a Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.