x
x
x
x
x

Page Timers

As a web-based tool, Qualtrics possesses the ability to be manipulated with multiple programming languages. Code can be used to alter the display of text and buttons, as well as performing various functions that could not otherwise be accessed in the software.

Adding a page timer is a clever way to influence the flow of the survey, while adding some spice to the respondent's experience.  It will remove the next button on a page and force the respondent to advance based upon a timer. On the page you would like to time, this code can be placed in the code view of a question text.

The code is as follows:

<script>
var displayTime = 10;
Event.observe(window, 'load', function() {if($('NextButton'))$('NextButton').hide();new PeriodicalExecuter(function(){if($('NextButton')){$('NextButton').show();$('NextButton').click();}},displayTime);});
</script>

The display time can be changed to any number seconds. This method of survey alteration can be used to either add variance to the regular flow of questions or ensure that respondents are spending enough time on a specified page.

One Comment

  1. Adina
    Posted April 21, 2009 at 2:00 pm | Permalink

    This is a very useful code. Thank you for posting it.

    Does anybody know how to display the timer on the page as well? I would like my participants to know how much time they have left.

    Your comments would be greatly appreciated!

    Thank you!