Next page on answer click | XM Community
Skip to main content
Question

Next page on answer click

  • September 26, 2019
  • 1 reply
  • 146 views

Forum|alt.badge.img+5
Hi all, I'd like to change an answer button to the next button for one question. Am currently using the code below, but it's not working. The next button is hidden, but it doesn't next when the answer is clicked. Qualtrics.SurveyEngine.addOnload(function() { this.hideNextButton () var that = this; this.questionclick = function(event,element){ if (element.type == 'radio') { that.clickNextButton(); } } }); It's a multiple choice question, with just one answer. Am happy to change the question type if that makes it easier. Any assistance would be much appreciated! Screenshot of the question below: !

1 reply

fleb
Level 3 ●●●
Forum|alt.badge.img+6
  • Level 3 ●●●
  • October 1, 2019
Hi @LTaylor , try this code: Qualtrics.SurveyEngine.addOnload(function() { this.questionclick = function(event, element) { if(element.type == "radio") { this.clickNextButton(); } } this.hideNextButton(); this.hidePreviousButton(); });