Inline email questions - don't open a new tab | XM Community
Skip to main content
Solved

Inline email questions - don't open a new tab

  • November 11, 2017
  • 2 replies
  • 26 views

Goldie
Qualtrics Employee
Forum|alt.badge.img
  • Qualtrics Employee
  • 34 replies
I'm using the inline email question for a one question survey. Right now, when someone clicks an option, Qualtrics opens up a new tab and forces them to confirm their answer and hit the next button. Is there any way to automatically record their answer and show them the end of survey message instead?

Best answer by AnthonyR

> @AnthonyR said:
> This could be done fairly easily with some JavaScript to check for an answer on load, then press the next button automatically, though I personally would be concerned about not giving respondents an opportunity to correct their answer if they mis-clicked.
>
> I'll work out the JavaScript a bit later today.

This should do what you need:

Qualtrics.SurveyEngine.addOnReady(function()
{
if($$('.q-checked').length > 0){
this.clickNextButton();
}
});
View original

2 replies

AnthonyR
Level 4 ●●●●
Forum|alt.badge.img+7
  • Level 4 ●●●●
  • 306 replies
  • November 14, 2017
This could be done fairly easily with some JavaScript to check for an answer on load, then press the next button automatically, though I personally would be concerned about not giving respondents an opportunity to correct their answer if they mis-clicked.

I'll work out the JavaScript a bit later today.

AnthonyR
Level 4 ●●●●
Forum|alt.badge.img+7
  • Level 4 ●●●●
  • 306 replies
  • Answer
  • November 14, 2017
> @AnthonyR said:
> This could be done fairly easily with some JavaScript to check for an answer on load, then press the next button automatically, though I personally would be concerned about not giving respondents an opportunity to correct their answer if they mis-clicked.
>
> I'll work out the JavaScript a bit later today.

This should do what you need:

Qualtrics.SurveyEngine.addOnReady(function()
{
if($$('.q-checked').length > 0){
this.clickNextButton();
}
});

Leave a Reply