errormessage_Qualtrics.pdfI have a survey that passes a store code as a parameter that I capture on an embedded data called 'stid'. I use stid to populate a few questions and hide them using Javascript. Populating them will give me the name (storeid), region (storeidreg) and address of the store (storenameaddr). I also have a few other questions that I populate and hide. The first question that I populate is storeid and this is the code that I use:
Qualtrics.SurveyEngine.addOnload(function()
{
/*Place your JavaScript here to run when the page loads*/
var StoreVal = "${e://Field/stid}";
this.setChoiceValueByRecodeValue(StoreVal,true);
//Hide the question from respondent view
this.clickNextButton();
});
This is the same code that I use for storeidreg. But when I test the survey, I get the error message and it stops at storeidreg. Even though I have the error, storeidreg was populated properly so I'm thinking it has something to do with the code that hides it. Once I click Next on the storeidreg page, the rest of the questions that I hide using the same code worked.
What do you think causes it? I tried switching storeid and storeidreg and I get the same result. It always stops on the second question.
Getting "Sorry, an unexpected error occurred" on the second question that I am trying to hide
Sign up
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, Once your account has been approved by our admins 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
Login with Qualtrics
Welcome! To join the Qualtrics Experience Community, log in with your existing Qualtrics credentials below.
Confirm your username, share a bit about yourself, Once your account has been approved by our admins 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
Login to the Community
Welcome! To join the Qualtrics Experience Community, log in with your existing Qualtrics credentials below.
Confirm your username, share a bit about yourself, Once your account has been approved by our admins 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
Login with Qualtrics
Welcome! To join the Qualtrics Experience Community, log in with your existing Qualtrics credentials below.
Confirm your username, share a bit about yourself, Once your account has been approved by our admins 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.
