Update time using 'Do every 5 seconds' not working?

Hey there,

I’m trying to have the time (as shown below) update every few seconds so a visiting user will always see pretty much the exact time for that specific region.

auto_time

Someone mentioned about using a State combined with the ‘Do every 5 seconds’ Workflow option, but I cannot seem to get it to work currently?

Any ideas on how to achieve this?

Many thanks

You actually need to force a condition such that Current Date/Time is re-evaluated. For example, on each recurring event, set some custom state (of date type) to Current Date/Time. Your text should be set to display that custom state. (Note that, on Page load, that custom state will be null so you might also want to initialize that state on the page load event).

You might ALSO (or alternatively) have to force the text to re-evaluate and grab the updated value of the custom state. It’s been a while since I tried something like this, but if changing the value of the custom state seems to not update the text element, you may need to put the text in a group and fire a Reset Data at that group…

So, multiple solutions to try! :stuck_out_tongue_winking_eye:

This topic was automatically closed after 70 days. New replies are no longer allowed.