In the list view how can we add a button to start a timer to timestamp with a start time and when the same is pressed to stop it makes a data entry with a stop time.
Any other idea to build a To do list with PHPMaker along with feature to record time spent on the task, would be appreciated.
If you mean tracking time elapsed on the client side, google for “JavaScript timer start stop” for examples. Also read help file → Server Events and Client Scripts to understand how you can put your JavaScript codes in the project.
When user press > the play button it records the start time in database and change the icon to i.e stop and look like below
| Get 10 kilo of milk | |
Meanwhile the page is loaded multiple times to check other works. But when the work is complete the user presses the button to log stop time and a database entry is made of stop time.