TomG would you be willing to look over the code I have so far and see what I'm missing? I've created this and have set the sliderData_0, sliderData_1, ... variables in the survey flow before the block with the slider that has the JS. However, in the survey responses I'm not seeing those values being populated. Any advice?Qualtrics.SurveyEngine.addOnPageSubmit(function() { // Set up the slider element var slider = document.getElementById("QID1"); // Set up the interval to capture the slider value every second var interval = setInterval(function() { saveSliderValue(); }, 1000); // Set up the variables for the slider data var sliderDataCount = 0; // Define a function to save the slider value as an embedded data variable function saveSliderValue() { // Get the current value of the slider var value = slider.value; // Save the slider value as an embedded data variable Qualtrics.SurveyEngine.setEmbeddedData("sliderData_" + sliderDataCount, value); // Increment the c
Hello! I'm adding on to the list of people interested in this - has anyone gotten this to work? I'm also a JS newbie so any help or example code would be greatly appreciated. If you used any alternatives, please let me know as well.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
Sorry, we're still checking this file's contents to make sure it's safe to download. Please try again in a few minutes.
Sorry, our virus scanner detected that this file isn't safe to download.