# Counting action on a button

**URL:** <https://community.glideapps.com/t/counting-action-on-a-button/85725>\
**Category:** Ask for Help\
**Created:** [December 15, 2025, 4:34pm UTC](https://community.glideapps.com/t/counting-action-on-a-button/85725 "2025-12-15T16:34:42Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![HouseSnap](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/housesnap/32/92689_2.png) [@HouseSnap](https://community.glideapps.com/u/HouseSnap)\
**Post date:** [December 15, 2025, 4:34pm UTC](https://community.glideapps.com/t/counting-action-on-a-button/85725/1 "2025-12-15T16:34:42Z")

</div>

Hello,

I was wondering if there was an easy way to count the number of click that were done on a button by a single user and therefore limit the number of clicks? Anyone has an idea?

Thanks

Stan

---

<div class="post-metadata">

**Author:** ![Robert\_Petitto](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/robert_petitto/32/25193_2.png) [@Robert\_Petitto](https://community.glideapps.com/u/Robert_Petitto)\
**Post date:** [December 15, 2025, 4:42pm UTC](https://community.glideapps.com/t/counting-action-on-a-button/85725/2 "2025-12-15T16:42:45Z")

</div>

You bet! Add a user specific number column that increments every time they click it. When it reaches a threshold, prevent the clicking action (allow action when number is \< threshold).

My latest video on social feeds has a parallel setup on button clicks (record true/false when clicked), You’ll want to use an increment action.

> [@busts\_in\_silhouette+1speech\_balloon Building a Social Media Feed (TUTORIAL)](https://community.glideapps.com/t/building-a-social-media-feed-tutorial/85711):
>
> waving_hand Hey fellow Gliders! Surprisingly, many small businesses have been asking me to build out social feeds within their apps in order to improve community culture and provide some low level social gamification. television In this video, learn how to create your own internal social media feed for your company! Build an eye-catching feed that allows users to: white_heart Like postsspeech_balloon Comment on postsenvelope Share posts popcorn Enjoy! [[Build a Social Me…](https://www.youtube.com/watch?v=7fUfgtp7emM)

---

<div class="post-metadata">

**Author:** ![HouseSnap](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/housesnap/32/92689_2.png) [@HouseSnap](https://community.glideapps.com/u/HouseSnap)\
**Post date:** [December 15, 2025, 8:46pm UTC](https://community.glideapps.com/t/counting-action-on-a-button/85725/3 "2025-12-15T20:46:48Z")

</div>

Thanks and I have tried to replicate your process to mine but it’s a bit different, as I want to limit to 2 click to one single button. i did try several process, not the visibility one tho which i believe will work. Any tips?

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [December 16, 2025, 1:15am UTC](https://community.glideapps.com/t/counting-action-on-a-button/85725/4 "2025-12-16T01:15:40Z")

</div>

I think you can just add a user-specific column to store the counts for each user, and every time the user clicks, you increment 1 to that column.

Only show the button when click count \< 2.
