What do I need to do to make a button on my app click 15 times in 24 hours ??
Welcome,
You have to give more info then that.
I changed your title to reflect your question.
use timer and global count variable
This post was flagged by the community and is temporarily hidden.
How to write blocks for that task ??
Please elaborate.
What is your requirement?
I need to make a clickable button on my app 15 times in 24 hours.
Do you want to limit clicks by 15 on a button?
U have to use 2 tiny dbs and clock and store todays date and also button click vaue +1 and when today value > or= 15 then show dialog
@ASHU_TOSH He is talking about 24 hours, not the day.
@gautamsamrat2 Confirm 24 hours or the current day.
When button click do set button enable to false and start a countdown timer of 5760000ms which is about 1houre and 36 minutes whenever countdown finished set button to enable
And to secure countdown to be hacked
Search community their are many topics and a secure countdown extension also available their
Click_Limiter.aia (4.9 KB)
You can collapse the procedure and use it as an extension.
It returns JSON/Dictionary with Keys and Values
- Is Click Valid: Returns true if there are less than 15 valid clicks in last 24 hours.
- Total Clicks: Total valid clicks in 24 hours.
- Oldest Click: Oldest valid click in 24 hours
- Time left: Time left for accepting click(s)
Thank you very much
Did it solve your issue?
yes my problem is solved
thank you soo much
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.