Simply Layout JavaScript to Autoadvance on a single question (NPS) | XM Community
Question

Simply Layout JavaScript to Autoadvance on a single question (NPS)

  • 8 February 2024
  • 1 reply
  • 25 views

Badge

We are launching a web intercept on our checkout page and want as few clicks as possible for clients to complete our survey.

I’m looking for help with the JavaScript that would be needed for Simple layout to hide the next button on our NPS question and auto advance to our next question/page once a response has been selected. 

 

The remaining questions in our survey are matrix and open text, so I only want to add autoadvance to this single question rather than the whole survey.


1 reply

Userlevel 6
Badge +21

Hi @Mcasenhiser

If you're removing the next button from the NPS question to ensure that customers provide a response, I would suggest making the NPS question mandatory. Here's how you can do it:

1. Select your survey box.
2. On the left side, you will find an option called "Add Requirement." Enable this option and select "Force Response."
3. You can also refer to the screenshot below for your reference:

 

Leave a Reply