Inline email questions - don't open a new tab

Goldie
Goldie Provo, UTFounding Community Member CEP (Chief Executive Paw-ficer)

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

  • AnthonyR
    AnthonyR Tucson AzFounding Community Member, Community Member Superuser ✭✭✭✭
    Accepted Answer

    @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();
        }
    });
    

Answers

  • AnthonyR
    AnthonyR Tucson AzFounding Community Member, Community Member Superuser ✭✭✭✭

    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.