https://community.qualtrics.com/XMcommunity/discussion/comment/39900#Comment_39900The Qualtrics Survey is used in a experiment. Suppose it is conducted several times, then the order of blocks should change randomly but should be the same for every participant during one conduction. Of course, one could do this manually but I wonder if there is a function in Qualtrics or a way by using JS to achieve this.
https://community.qualtrics.com/XMcommunity/discussion/comment/39396#Comment_39396Thanks a lot! However, it's a multi choice answer but that should work pretty similar.
https://community.qualtrics.com/XMcommunity/discussion/comment/39212#Comment_39212Thank you!
Got it now, thank you Tom!
https://www.qualtrics.com/community/discussion/comment/30655#Comment_30655Sorry, I do not understand what this means. But I think I figuered out what's the problem with the code. It doesn't set TimeLeft to zero when the 10 seconds end. I displayed TimeLeft on the following question and the value was the initial number of seconds. How can I fix this?
Sorry for the question, I figuered out
There are two ways:You save multiple wrong scores as embedded data in advance and display them randomly.You can use this web service: https://www.qualtrics.com/support/survey-platform/survey-module/survey-flow/advanced-elements/web-service/#WebServiceRandomNumbGen to generate a random number and save it as a variable.
https://www.qualtrics.com/community/discussion/comment/5616#Comment_5616Sorry, I know it's been a while. I have the same problem but the code works like this: when the time is over, the participant is automatically guided to the next question within this block (questions are separated by page breaks). Unfortunately, I need them to be guided to the next block. Do have an idea? Anyone else?
https://www.qualtrics.com/community/discussion/comment/30565#Comment_30565I am sorry, but I am not used to JS. Is this okay? var timer;Qualtrics.SurveyEngine.addOnload(function () { const allottedTime = parseInt("${e://Field/time_allotted}", 10); const startTime = parseInt("${e://Field/start_time}", 10); const currentTime = parseInt("${e://Field/Q_TotalDuration}", 10); var spendTime = currentTime - startTime; function formatTime(time) { let hours = Math.floor(time / 3600); let minutes = Math.floor((time % 3600) / 60); let seconds = Math.floor(time % 60); if (hours < 10) {hours = "0" + hours;} if (minutes < 10) {minutes = "0" + minutes;} if (seconds < 10) {seconds = "0" + seconds;} return minutes + ":" + seconds; } function updateTime() { spendTime++; let timeLeft = (allottedTime - spendTime); if (timeLeft
https://www.qualtrics.com/community/discussion/comment/30565#Comment_30565Allright, thank you!
https://www.qualtrics.com/community/discussion/comment/30340#Comment_30340Thanks (sorry for the late reaction)!
https://www.qualtrics.com/community/discussion/comment/30330#Comment_30330Yes!
Just in addition: the participants solve computational problems in several blocks and there is no overall ranking but there are multiple based on the performance within a block. So there are multiple possible payments (in dependence of the outcome in each round) and one is chosen randomly.
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.