How to make a key disappear after receiving 10 clicks?

Hi, I want to be able to make a button disappear from my site after it has been clicked a certain number of times in total among all the users who will visit the page.
I don’t know the programming language but I think it’s enough to create a click event from the properties panel on “button1”, increase by +1 in the dataset in the field I’ll call “button1counter”, determine that when the number reaches 10 the button “button1” must be “hide”. I have literally zero experience in coding and English is not my first language. I hope someone will be kind enough to write me the code I need to enter. Thank you!

Hello.

You can learn how to work with calculations in Corvid here .

To hide the button use the hide() method here: https://www.wix.com/corvid/reference/$w.HiddenMixin.html#hide

If you experience any difficulty feel free to get back to the community by following the guidelines here: https://www.wix.com/corvid/forum/community-discussion/corvid-community-guidelines

Good luck!

Be sure to familiarize yourself with the community guidelines. The purpose of this community is not to hand off ‘free code’ but rather guide you through your learning.

If you need someone to privately teach you or privately create code for you then you can search the Wix Arena for available coders.

https://www.wix.com/marketplace

The solution you are looking for is not ‘cut and paste’. It requires knowledge on database collections, event handlers and code.