Is there a way to display submit button and a continue button at once, on the same page? | XM Community
Skip to main content
Solved

Is there a way to display submit button and a continue button at once, on the same page?

  • April 18, 2018
  • 9 replies
  • 476 views

jchiang
Forum|alt.badge.img+1
I'm trying to build in the middle of my survey the option for the respondent to either click a button to continue to optional questions in the survey or simply hit submit instead and finish the survey. Is this something I could do? I know I could achieve something similar with a survey question but I'd rather not have a question and an arrow button, which could create some confusion. Any help would be appreciated! Thank you!

Best answer by TomG

You have to do it with a question. However, you could make it appear the way you want using a JavaScript to hide the question and add a Submit button, then when the Submit button is clicked, answer the hidden question and click the Next button.

9 replies

TomG
Level 8 ●●●●●●●●
Forum|alt.badge.img+27
  • Level 8 ●●●●●●●●
  • Answer
  • April 18, 2018
You have to do it with a question. However, you could make it appear the way you want using a JavaScript to hide the question and add a Submit button, then when the Submit button is clicked, answer the hidden question and click the Next button.

jchiang
Forum|alt.badge.img+1
  • Author
  • April 18, 2018
Thank you, Tom!

Forum|alt.badge.img+2
  • May 8, 2018
I'm very new to Javascript but would love to add something like this to my surveys. What would the script look like? Thanks so much!

Emily
Qualtrics Employee
Forum|alt.badge.img+7
  • Qualtrics Employee
  • May 31, 2018
Hi @EMunoz! It looks like you may be asking about custom programming/code. We actually have a Developer Corner in the community that is reserved for these types of questions. Therefore, we recommend asking your question in that section instead so coders and programmers are more likely to answer your question. P.S. They might assume that you already have a basic knowledge of programming and how to integrate it into Qualtrics. If you do not, we recommend checking out W3Schools and our pages on Adding Custom CSS and Adding JavaScript to get a basic understanding!

Forum|alt.badge.img+3
  • Level 1 ●
  • September 18, 2018
@TomG I'm searching the Developer Corner for the specifics on how to do this, but can't find it. Do you have time to please post the link here as part of the Accepted Answer?

TomG
Level 8 ●●●●●●●●
Forum|alt.badge.img+27
  • Level 8 ●●●●●●●●
  • September 18, 2018
@red5 - I sent you a private message.

  • August 1, 2019
@TomG I am also trying to do this and just found this thread. I'm trying to figure out how to do what you suggested in your accepted answer, but I can't figure out to enable both options to appear on the same page. > @TomG said: > You have to do it with a question. However, you could make it appear the way you want using a JavaScript to hide the question and add a Submit button, then when the Submit button is clicked, answer the hidden question and click the Next button.

TomG
Level 8 ●●●●●●●●
Forum|alt.badge.img+27
  • Level 8 ●●●●●●●●
  • August 1, 2019
> @hb2008 said: > @TomG I am also trying to do this and just found this thread. I'm trying to figure out how to do what you suggested in your accepted answer, but I can't figure out to enable both options to appear on the same page. > > > @TomG said: > > You have to do it with a question. However, you could make it appear the way you want using a JavaScript to hide the question and add a Submit button, then when the Submit button is clicked, answer the hidden question and click the Next button. > > Add a second button to the page with a different event handler.

Forum|alt.badge.img+1
  • December 23, 2020

TomG , I too have a similar requirement i want to add a continue and submit button where clicking on continue it redirects the user to new follow up survey and on submit it should display a Thank you message.

Currently i have changed the Next button to "continue" in last page of survey and redirected it to new survey. I want to change the back button functionality on the last page to submit. How to do it?