I am using this countdown plugin by Copilot: Countdown Plugin | Bubble
I chose this plugin because it doesn’t reset the countdown when the page is refreshed which is critical to my use case. This works when I set the countdown date to an arbitrary date.
In my use case however, the countdown duration’s hours needs to be set dynamically depending on a number field created when a thing is created.
When a user creates a thing, one of the things’ types is a file wordcount (number). I need to let the “hour” duration of the countdown be set by the number of words divided by 84. So for example if there are 168 words, the duration will be set to 2 hours. It appears I succeeded in achieving this by setting the End Date as: Current date/time +(hours)thing’s field.
So far so good. But the issue I now discovered is that:
- The countdown resets when I refresh the page.
- The countdown’s display text jumps back almost erratically every 5 seconds and doesn’t countdown in a stable fashion as is the case when the End Date is set to an arbitrary date.
I will appreciate any advice on this issue.