Click limit for button

how to add limit of clicking button to 10 times and also store in tinydb without any bugs after closing and open app its not for earning app

This post is similar and might help you

@Kidular_user, You can just achieve this with few Blocks

Follow these Blocks

First, Create a variable and give the input value to be 0, Don’t give 0 as a text.
First

Second, Add Screen Initialization block
Second

Finally, Add when button click block
image

2 Likes

S. Ir the when we close and open the app the click count should not change and after 24 hrs the clicks should be zero ill implement your answer to my question and check wait can you please share your contact info like insta or messenger

Sorry, but I can’t share my contact details, you can ask any questions in the community that’s why Kodular Community is made for and the question and solution here will help other Koders.

For you query, Yes the click count won’t change.

If you feel this has helped and your issue is solved , mark the above steps as the solution so that this can help others also.

No my issue not solved please help the limit needs to be refreshed at every 12 Indian time mid night please solve and give blocks

blocks (4)

Sadly my Companion is not working, try it and tell if it’s working.

Edit - Tested it and it’s working fine.

2 Likes

This post was flagged by the community and is temporarily hidden.

i tested it and it’s working fine;
you can use API based Date,
So the User can not easily change Device Date and gain Extra Clicks.

2 Likes

ok ill check thanks you will be kodular commmunity moderator soon congrats in advance

1 Like

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