{% extends "global/Page.html" %} {% load otree %} {% block title %} Second stage {% endblock %} {% block content %}

In this stage, you will answer some survey-type questions.

{% next_button %} {% endblock %} $('form').submit(function(e) { e.preventDefault(); // or return false; }); var duration=900; var dt1= new Date() // Update the count down every 1 second var x = setInterval(function() { // Get today's date and time var dt2 = new Date(); timer=diff_seconds(dt2,dt1) if(timer>300){ $('form').submit( function(ev){ $(this).unbind('submit').submit() }); }