Next Page Button: Hide Button for Time Interval

This article will show you how to display the Next Page button after a set amount of time  

Hide Next Page Button for a Specific Time Interval

You may want to display the Next Page button after a specific amount of time. This can be done so that a respondent is forced to review a concept for at least 10 seconds, for example. 

Follow the steps below to set this up:

  1. Add the question(s) needed onto the page
  2. Within a question on that page, click on 'ADD JAVASCRIPT' 
  3. Add the code below and update the first line to have the amount of seconds. The next page button will appear after the set amount of time as elapsed and the Next button can be used.   
    var hideInterval = 10  /* UPDATE SECONDS TO BE WHAT YOU NEED */ 
    var functionCall = setInterval(timerUpdate, 1000);
    jQuery("#cm-NextButton").css("width", "7em");
    function timerUpdate() {
        hideInterval -= 1;
        if (hideInterval < 0) {
  4. Click on the 'SAVE' button 
  5. Make sure to test

Alternate Method

  1. Add the question(s) needed on the page
  2. Within a question on that page, access the html editor in the 'Instructions' area
  3. Click on the </> icon to access the source code 
  4. Paste in the following code and update the time interval as needed
    <script type="text/javascript">
    		var seconds = 15; /* UPDATE THE TIME INTERVAL HERE (SECONDS) */
    		var delay = seconds * 1000,
    			$submitButton = cmJq("#cm-NextButton");
    		}, delay);
  5. Click on the </> icon to close this view 
  6. Click 'SAVE' 
  7. Make sure to test
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.