July 2, 201213 yr Hello All, I'm trying to create a field that acts as a timer (count down). I want to show when an order should be delivered and then the time left (timer) to prepare it. After the deadline has been met (usually no more than 8 hours from start to finish), I want the entire line to go Red (which I know I can do with conditional formatting). In order to get a timer field (with seconds) do I need to have the layout running a script to update itself every second? Or can I have individual fields do that by themselves? Thanks!
July 2, 201213 yr Reid, If you will have a layout consistently open you can use the OnTimer script step to achieve this. Do you really need seconds or minutes would be enough? Can they stop the timer when the package is prepared and sent out? You could always set the deadline to a certain hour and have a server script check current time and tell you how many hours:minutes you have left till then. You can have the script running every 5 minutes or more often if needed.
July 2, 201213 yr IMHO, it's best to offload such tasks to a web viewer - see an example here: http://fmforums.com/forum/topic/71934-calculating-elapsed-time-realtime/#entry340205
July 2, 201213 yr True! When all else fails, rely on javascript. :-) I have developed a timer in FM based on Freshbooks:
July 2, 201213 yr If it is your intention to share this file, why not post it here, or provide a link?
Create an account or sign in to comment