In the legacy survey taking experience, I’m able to use the code here:
However, this code does not work in the new survey taking experience (NSTB). Can anyone provide code that I can use to do the same thing in NSTB?
In the legacy survey taking experience, I’m able to use the code here:
However, this code does not work in the new survey taking experience (NSTB). Can anyone provide code that I can use to do the same thing in NSTB?
Best answer by vgayraud
Hi,
For a simple placeholder in an open-ended question, NSTE :
Qualtrics.SurveyEngine.addOnload(function () {
var placeholderText = "Your answer here...";
var input = document.querySelector("#question-" + this.questionId + " .text-input");
if (input) {
input.placeholder = placeholderText;
}
});
Already have an account? Login
Welcome! To join the Qualtrics Experience Community, log in with your existing Qualtrics credentials below.
Confirm your username, share a bit about yourself, then you're ready to explore and connect .
Free trial account? No problem. Log in with your trial credentials to join. No free trial account? No problem! Register here
Already a member? Hi and welcome back! We're glad you're here 🙂
You will see the Qualtrics login page briefly before being taken to the Experience Community.
No account yet? Create an account
Welcome! To join the Qualtrics Experience Community, log in with your existing Qualtrics credentials below.
Confirm your username, share a bit about yourself, then you're ready to explore and connect .
Free trial account? No problem. Log in with your trial credentials to join. No free trial account? No problem! Register here
Already a member? Hi and welcome back! We're glad you're here 🙂
You will see the Qualtrics login page briefly before being taken to the Experience Community.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.