# Interrupt a now binding on date range endDate via checkbox expression

**URL:** <https://forum.inductiveautomation.com/t/interrupt-a-now-binding-on-date-range-enddate-via-checkbox-expression/16467>\
**Category:** Ignition\
**Created:** [January 3, 2018, 9:55pm UTC](https://forum.inductiveautomation.com/t/interrupt-a-now-binding-on-date-range-enddate-via-checkbox-expression/16467 "2018-01-03T21:55:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![swhipple](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/swhipple/32/4118_2.png) [@swhipple](https://forum.inductiveautomation.com/u/swhipple)\
**Post date:** [January 3, 2018, 9:55pm UTC](https://forum.inductiveautomation.com/t/interrupt-a-now-binding-on-date-range-enddate-via-checkbox-expression/16467/1 "2018-01-03T21:55:39Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [January 3, 2018, 9:57pm UTC](https://forum.inductiveautomation.com/t/interrupt-a-now-binding-on-date-range-enddate-via-checkbox-expression/16467/2 "2018-01-03T21:57:46Z")

</div>

Try this:

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

```

---

<div class="post-metadata">

**Author:** ![swhipple](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/swhipple/32/4118_2.png) [@swhipple](https://forum.inductiveautomation.com/u/swhipple)\
**Post date:** [January 3, 2018, 10:00pm UTC](https://forum.inductiveautomation.com/t/interrupt-a-now-binding-on-date-range-enddate-via-checkbox-expression/16467/3 "2018-01-03T22:00:34Z")

</div>

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