Interrupt a now binding on date range endDate via checkbox expression

if({Root Container.CheckBox.selected},now(5000),now(0))

I am trying to dynamically change the polling rate of a now() binding in a Date Range slider endDate using a CheckBox to select/deselect live mode. I have tried placing the above expression in as a binding in the endDate. I have also tried to do an action performed script on the CheckBox to change from now(5000) to now(0). Not successful yet.

Anyone have a suggestion to try?

Thanks.

Try this:

now(if({Root Container.CheckBox.selected},5000,0))
1 Like

Thanks, that worked. Sometimes it just takes a second set of eyes to make you see it in the right order.