We are looking to add some additional functionality to our existing app. Employees are manually entering in the time they have spent on a project using a Time Card table, but would like to automate th...
Hillary, We've done this with time entry - but it could be easily adapted to another use case. You will need javascript to get a button that makes sense to the users. A couple of things you may need to consider
The timer will generally keep time in HH:MM, but it's easier to edit the time if it's in decimal format.
If the person can have multiple timers - you will probably want to shut one off if another is turned on.
You may want to store the time in the browsers local memory - so it isn't lost if the user is disconnected from the internet.
You want an indicator to show the timer is running (a minute is a long time). In the examples below we use a simple gif...
Anyway here is an example of a timer (you only need one button as a toggle). With the timer running in HH:MM format:
Available for data entry (switches to decimal format when the user focuses the cursor in the hours field)