The commands work!
In the HTML form (attached), find the following line to adjust time limit. This line sets it at 540 seconds.
<body onload="setTimeout ('document.forms[0].submit()', 540000)"> <form method="post">
Also, the "anagram task_TEMP .htm" file that is automatically created after the experiment is run the first time appears to make the timing smoother - that is, without this file there may be a delay (blank screen) that occurs by clicking the submit button before the time limit is reached (a delay which appears to be the remainder of the available time left on the html form).
Important commands:
<html>
<body onload="setTimeout ('document.forms[0].submit()', 5000)">
<form method="post">
<button type="submit">Submit</button>
</form>
</body>
</html>
In my html form I placed my survey between the <form method="post"> and <button type="submit">Submit</button> commands.




Reply With Quote