rondev this worked perfectly, thank you!! :)
+1
https://www.qualtrics.com/community/discussion/comment/28039#Comment_28039This is exactly what I needed, thank you rondev!!!!
https://www.qualtrics.com/community/discussion/comment/28037#Comment_28037I am inputting that code into OnReady on question and it will not show next button. I think this is because I have input "hide next button" code into header of survey.What else could be the issue? Code I have in header is:#NextButton { visibility: hidden;}
https://www.qualtrics.com/community/discussion/comment/27863#Comment_27863This is not going to work for my use case, appreciate the effort!
https://www.qualtrics.com/community/discussion/comment/27857#Comment_27857Will this track clicks daily/weekly and where will I see the count? I was hoping there was a solution where I can track the number of clicks to the link overall, perhaps an external site/program.
https://www.qualtrics.com/community/discussion/comment/27467#Comment_27467I have added the else statement in but now when I click the choice number two it flashes the next button then goes away. If I click choice two a second time then the next button will stay. I see your code at the beginning of this thread to another user is in OnLoad whereas the above you have OnReady. Would that be what is causing this? Perhaps the overall hide next button code in look and feel is overriding this?
SurajK I noticed once I got this code to work, that if a user clicks the second choice and next button appears, they can then click the first choice and the next button will still be there. Does this mean I need to add a "hide next button" code for all answers that are NOT the second choice?I thought the overall hide next button coding in look and feel would override this but after user clicks second choice and triggers next button to appear it does not go away if user click another choice.
https://www.qualtrics.com/community/discussion/comment/27393#Comment_27393Both of these were issues and fixed the problem! Appreciate the help SurajK!!!
https://www.qualtrics.com/community/discussion/comment/27390#Comment_27390I added your code into the question that I want the next button displayed (while keeping the overall hidden next button code) and when I click the 2nd choice it doesn't appear but instead it flashes the timer symbol really quickly.
SurajK - I have the code below in my survey to hide next button throughout entire survey but when I add code above to a question it does not trigger the next button to appear...did the code override one another?#NextButton { visibility: hidden;}
I have the code below in my survey to hide next button throughout entire survey but when I add code above to a question it does not trigger the next button to appear...did the code override one another?#NextButton { visibility: hidden;}
Thank you both! If it is a single questions with 4 choices and option 4 is selected would I just change both 2's to 4's in the above code like below: var choiceNum = element.id.split('~')[4]; //alert('You clicked on choice '+choiceNum); if (choiceNum == 4)
Already have an account? Login
Enter your username or 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.