# Capture date when Toggle happens

**URL:** <https://community.glideapps.com/t/capture-date-when-toggle-happens/29789>\
**Category:** Ask for Help\
**Created:** [July 31, 2021, 10:42am UTC](https://community.glideapps.com/t/capture-date-when-toggle-happens/29789 "2021-07-31T10:42:47Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mns\_Glide](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/mns_glide/32/2514_2.png) [@Mns\_Glide](https://community.glideapps.com/u/Mns_Glide)\
**Post date:** [July 31, 2021, 10:42am UTC](https://community.glideapps.com/t/capture-date-when-toggle-happens/29789/1 "2021-07-31T10:42:47Z")

</div>

Hi,  
I have a case where user will toggle the switch. Is there a way to capture the date when the toggle happens?

Thanks

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [July 31, 2021, 11:04am UTC](https://community.glideapps.com/t/capture-date-when-toggle-happens/29789/2 "2021-07-31T11:04:33Z")

</div>

No, there’s no action tied to the switch. You’re setting a boolean column so might as well use a button to set that column to true/false and capture the timestamp as well.

---

<div class="post-metadata">

**Author:** ![Mns\_Glide](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/mns_glide/32/2514_2.png) [@Mns\_Glide](https://community.glideapps.com/u/Mns_Glide)\
**Post date:** [July 31, 2021, 11:07am UTC](https://community.glideapps.com/t/capture-date-when-toggle-happens/29789/3 "2021-07-31T11:07:30Z")

</div>

Button adds a new row and this complicates my flow. for now i just ask user to add in the date manually.

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [July 31, 2021, 11:16am UTC](https://community.glideapps.com/t/capture-date-when-toggle-happens/29789/4 "2021-07-31T11:16:38Z")

</div>

Button doesn’t add a new row, only when you use it as a form or with an add row action. You can add a button and use a flow that includes a set column action with settings as above.

---

<div class="post-metadata">

**Author:** ![Maxim\_KM](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/maxim_km/32/29274_2.png) [@Maxim\_KM](https://community.glideapps.com/u/Maxim_KM)\
**Post date:** [July 31, 2021, 11:53am UTC](https://community.glideapps.com/t/capture-date-when-toggle-happens/29789/5 "2021-07-31T11:53:51Z")

</div>

Change Switch to the button with action “Set Columns” that sets needed cell with current date/time.

---

<div class="post-metadata">

**Author:** ![Mns\_Glide](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/mns_glide/32/2514_2.png) [@Mns\_Glide](https://community.glideapps.com/u/Mns_Glide)\
**Post date:** [July 31, 2021, 2:42pm UTC](https://community.glideapps.com/t/capture-date-when-toggle-happens/29789/6 "2021-07-31T14:42:15Z")

</div>

thanks @ThinhDinh and @Maxim_KM .  
Learnt something new for me.

---

<div class="post-metadata">

**Author:** ![NoCodeAndy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/nocodeandy/32/62530_2.png) [@NoCodeAndy](https://community.glideapps.com/u/NoCodeAndy)\
**Post date:** [January 17, 2024, 4:51pm UTC](https://community.glideapps.com/t/capture-date-when-toggle-happens/29789/7 "2024-01-17T16:51:06Z")

</div>


