• Post Reply Bookmark Topic Watch Topic
  • New Topic

countdown timer for Testing engine  RSS feed

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi All,

i m doing web project which is a online exam system. so i need to know how to create a countdown timer for my site?? can anyone please help me with this issue???

 
Marshal
Posts: 5853
818
Chrome Eclipse IDE Google App Engine IntelliJ IDE jQuery Postgres Database Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to JavaRanch.

A simple way to do this is using a JavaScript timer running on your web page. The exam form should be automatically submitted when the timer expires. From the server-side, you should record the time that the exam starts, so you can track the mean difference upon the final submission. For no-javascript users, you should have a strategy to decide what to do if the submission was not within the allowed time.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!