# Voting once per person

**URL:** <https://community.glideapps.com/t/voting-once-per-person/63777>\
**Category:** Ask for Help\
**Created:** [July 11, 2023, 1:42pm UTC](https://community.glideapps.com/t/voting-once-per-person/63777 "2023-07-11T13:42:17Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![cloudlee](https://avatars.discourse-cdn.com/v4/letter/c/8e7dd6/32.png) [@cloudlee](https://community.glideapps.com/u/cloudlee)\
**Post date:** [July 11, 2023, 1:42pm UTC](https://community.glideapps.com/t/voting-once-per-person/63777/1 "2023-07-11T13:42:17Z")

</div>

Hello.  
How can I make a voting button that can be clicked only once per user?

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [July 11, 2023, 1:58pm UTC](https://community.glideapps.com/t/voting-once-per-person/63777/2 "2023-07-11T13:58:30Z")

</div>

What are they voting on?  
A list of things, or just one specific thing?

In general, you want an action that sets a column value when they vote, and then hide the voting button once that value is set. It could be a user specific boolean column, or it could be a column in the user profile. Depends on the exact use case.

---

<div class="post-metadata">

**Author:** ![Cameraville](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/cameraville/32/60231_2.png) [@Cameraville](https://community.glideapps.com/u/Cameraville)\
**Post date:** [July 12, 2023, 3:48pm UTC](https://community.glideapps.com/t/voting-once-per-person/63777/3 "2023-07-12T15:48:53Z")

</div>

You can set up two columns, one called Total Votes (numerical), and one called User Voted (Boolean & User-Specific).

Set vote button to a custom action.  
If User Voted does not equal true, then Increment Number (write 1 in the Total Votes field).  
Else, Increment Number (write -1 in the Total Votes field).

This is way a user can vote and unvote as many time as they want, only ever contributing nothing, or 1 to the total Total Votes.

This is my method at least 🙂

@Darren_Murphy

---

<div class="post-metadata">

**Author:** ![cloudlee](https://avatars.discourse-cdn.com/v4/letter/c/8e7dd6/32.png) [@cloudlee](https://community.glideapps.com/u/cloudlee)\
**Post date:** [July 13, 2023, 2:40pm UTC](https://community.glideapps.com/t/voting-once-per-person/63777/4 "2023-07-13T14:40:37Z")

</div>

Hi @Cameraville  
It works well for me!  
Thanks a lot!

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/system/32/53398_2.png) [@system](https://community.glideapps.com/u/system)\
**Post date:** [July 14, 2023, 2:41pm UTC](https://community.glideapps.com/t/voting-once-per-person/63777/5 "2023-07-14T14:41:10Z")

</div>

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