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

I am trying to make a button inactive until nDays countdown. Please how can I do this?

In other words, when a user clicks a button, I don’t want the user to click that button until after nDays. How can I do this? @michael.ionita @Colin @Victor @pford @James_App_Maker @jessehaywood @jammyshan @Michael @ben1 @Eugen

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.

3 Likes

Thank you so much. I’ll try it out now

1 Like

You are a genius

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.