Autoadvance with JS | XM Community
Skip to main content

Hello everyone!

We’re making a process where we have the query string option to pre select an option in the survey with the variable Q_PopulateResponse.

Here an example: “&Q_PopulateResponse={"QID1":"2"}”.

The thing is that when we use this option, the autoadvanse option from look & feel doesn’t work. 

Is there a way to force the autoadvance option with JS? 

In the use cases where we use this option (maybe 20% of the total public of this survey) we actually only display 1 question. So the idea is that the experience feels kind of seamless for the user in those scenarios and not force them to clic on finish to send the 1 question survey…

 

Thank you in advance! 

 

@Ricmarug

If the Question is  auto populated just include the below code in JavaScript Section

Qualtrics.SurveyEngine.addOnload(function()
{

jQuery('#NextButton').click();

});

 


Leave a Reply