Hi Everyone! I have standard 1 on 2 matrix table question, where I added a j.script that adds a name “Ben” Before the first box. I am trying to create a space between the “Ben” string and the first textbox, without success so far. This is the code: Qualtrics.SurveyEngine.addOnload(function(){jQuery(".QuestionOuter").css("padding-bottom","0px");let all_inputs = this.getQuestionContainer().querySelectorAll("input");all_inputs[0].insertAdjacentText("afterend"," Years");all_inputs[0].insertAdjacentText("beforebegin","Ben:"); all_inputs[1].insertAdjacentText("afterend"," Months ");}); And this is how it looks like in Qualtrics’ interface: Does anyone have an idea how to solve this? Thank you so much in advance!Tom
Hi! I am trying to have three sliders in a question, where adjusting the first slider automatically adjusts the other two sliders with the following equation: If I change the value of the first slider to x, the second slider should update to 2x-x^2, and the third slider should update to 1 - X^2. I used a code that someone posted a year ago (https://community.qualtrics.com/XMcommunity/discussion/15518/how-to-set-the-value-on-a-slider-through-javascript#) that suppose to work, but for some reason, it isn't. The code is: var currentQuestionInfo = this.getQuestionInfo()var postTag = currentQuestionInfo.postTagvar currentQuestionID = this.getQuestionInfo().QuestionID;var Sli1Old = 50;var Sli2Old = 75;var Sli3Old = 75;var respSli1 = document.getElementById(currentQuestionID + '~1~result');var respSli2 = document.getElementById(currentQuestionID + '~2~result');var respSli3 = document.getElementById(currentQuestionID + '~3~result'); Event.observe(document, 'mouseup',function(e){ var curr
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.