Disable button

Hi there,
How can I disable a button for 30 minutes once it has been clicked?
I want the user to be able to click a button ( It runs code, adds record etc), I then want to deactivate the button for a period of 30 minutes. Once the 30 minutes are up, I need to re-activate the button.
I presume it's with the timer event, but I have tried for the past three hours to no avail.
As always, your time and advice is much appreciated.
Thanks
LVL 1
Stephen ByromWarehouse/ShippingAsked:
Who is Participating?
 
EyalConnect With a Mentor Commented:
I would save the last time he pressed in work table and query this table once a minute
0
 
Stephen ByromWarehouse/ShippingAuthor Commented:
Thanks
So simple, I didn't think of that.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.