# How can i make a button inactive until 7 days countdown?

**URL:** <https://forum.adalo.com/t/how-can-i-make-a-button-inactive-until-7-days-countdown/23900>\
**Category:** Get Help\
**Created:** [February 26, 2022, 7:57am UTC](https://forum.adalo.com/t/how-can-i-make-a-button-inactive-until-7-days-countdown/23900 "2022-02-26T07:57:49Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Victor](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/victor/32/2054_2.png) [@Victor](https://forum.adalo.com/u/Victor)\
**Post date:** [February 26, 2022, 10:25am UTC](https://forum.adalo.com/t/how-can-i-make-a-button-inactive-until-7-days-countdown/23900/2 "2022-02-26T10:25:43Z")

</div>

Hi @endieumunna,

You can do the following:

- create a DateTime property in Users collection, call it “ButtonActiveStartDate”
- when you press a button, update Logged-in User → ButtonActiveStartDate to Current Time + 7
- make this button conditionally visible - when Logged-In User → ButtonActiveStartDate is before Current Time.

You can do similar with Dates only.

Hope this helps.

P.S. I would suggest avoiding of excessive tagging forum members.

---

_[View the full topic](https://forum.adalo.com/t/how-can-i-make-a-button-inactive-until-7-days-countdown/23900)._
