Announcement

Collapse
No announcement yet.

Javascript Timer in Form

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Javascript Timer in Form

    Good morning,

    I have a javascript based timer that I would like to incorporate into a form. The goal of this is to have the employee track the time spent working on an issue. My question is where exactly or how can I incorporate this timer into my form? Do I need to manually edit the HTML or is there a way to do this in scrip case?

    Thanks,

    Keith

  • #2
    You can do it a different way, save a variable in onload with the current datetime, and onvalidate get the current datetime. So you can get the time and assign it to your {field}.
    Other way is you have two fields: datetime initial and datetime end.

    Comment


    • #3
      That seems like a good option. Takes away the manual process of someone have to start and stop the timer

      Comment

      Working...
      X