Rudi I am hoping you can help me with a similar issue. I want participants to have play/pause controls, but I want to disable download/playback rate adjustment.I was able to do this for most users with controlslist="nodownload noplaybackrate" but I am having trouble with the playback rate option persisting on iPhones. Do you have any idea what could be causing this?Here is my code:
TomG Thank you!! I had a feeling this is what was happening but didn't realize you could nest addOnUnload within addOnReady.I'm not proficient at Java yet; learning by doing. Thanks again for your help.
Shashi Thank you. Are you able to give me some hints as to how to set that up?
Thank you!! That worked perfectly
I'm looking to do a similar thing. I want to auto-advance participants once they have reached the end of the carousel. A minor modification on the code above worked brilliantly (thank you!!). However, it all breaks down if I want to randomize the display of my questions. VaughanS - can you think of a work-around? I tried creating an index variable that counts the clicks and checks if the click count is equal to the question count, but it seems to be advancing way too early. Can you tell me what I'm doing wrong?Here is my code right now:Qualtrics.SurveyEngine.addOnReady(function(){ elAnswerButtons = document.querySelector('.CarouselAnswerButtonList'); var QuestionCount = document.querySelectorAll("div.CarouselCardFrame div[data-choiceid]").length; var index = 0; elAnswerButtons.addEventListener("click", () => { index = index + 1; dispQ = document.querySelector('div.CarouselCard:not(.NoDisplay)').getAttribute('data-choiceid'); if(index == QuestionCount) { this.clickNextButton
Great, thank you! Do you know of any resources I can consult on this? Which properties can I change?
Thanks! That was the fix!
I am also trying to hide just a few specific separators. I tried the code above and it did not work for me. Any ideas?
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.