I wrote up a guide how to do this in JavaScript. See the two sliders side by side section, https://rpubs.com/john-henry/custom-qualtrics-sliders
I was able to solve the image HTML problem by setting both parts to `innerHTML` choices.forEach((choice) => { let pos = parseInt(choice.id.split("-")[1]) - 1; choice.innerHTML = alphabet[pos] + ". " + choice.innerHTML; });
ahmedA I have a few questions in my survey that have images as answer choices. In this example, the letters are replacing the images. Do you have any advice on how to handle these? I tried setting innerText to innerHTML with no luck.
I found the question ID using this in my console Qualtrics.SurveyEngine.QuestionInfo.QID887Miraculously, the left column has ID 16? Anyway this works! Thank you so much!
Hmm not quite, I added this to my JSand randomly selected options in both columns. Here what I get in the console.Do you have more advice on getting the correct choice ID's?
Yes to transposed, also single select.
I am thinking about doing this using the "invisible block" method described here https://www.qualtrics.com/community/discussion/3730/loop-and-merge-even-randomizationI am setting "the condition" by setting each item to have display logic based on the condition.Is there anything wrong with this method? Will my loop still be evenly randomized?
Thanks this completely answers my question and I will accept your answer. Would you let me know how you figured this out so that I can do this by myself next time?
I started experimenting with the authenticator -- it seems like participants are required to have an email address to upload contact lists?Also the authenticator page doesn't seem like it is customizable (at least not without writing my own html) -- it is possible to authenticate based on an existing text entry question?EDIT: It looks like I can sidestep the email problem using an input called ExternalDataReference and I can sidestep using the Authenticator's "Prefill" option
In the user list can you add a flag or data value indicating what user should see what branch and then either use the respondent info or embedded data for the logic to show/hide different branches?Yes I'm not sure how to best do that using the respondent info to setup the logic. There are a lot of people to direct into several branches.You could also use the user ID as an authenticator?This might be a really good idea, can you tell me more about what you're thinking?
this is what I'll end up doing, but it won't dynamically update and match the results
TomG thank you so much! I have this mostly solved. Last question: how do I copy the selected value into the hidden text entry field?JS: Qualtrics.SurveyEngine.addOnload(function(){jQuery(".InputText").hide()// inspired by https://stackoverflow.com/questions/32925880/using-javascript-to-loop-through-drop-down-html-arrayvar sex = [];var N = 1000;for (var i = 0; i
@SurajK, thank you for this good start! I'm wondering though if it is possible to update the page I'm currently looking at as well.So for example, if I updated the embedded data could I update all of the occurrences of the piped text on a page I'm currently viewing, or at least on the next page of the survey.
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.