# Increment Action?!

**URL:** <https://community.glideapps.com/t/increment-action/10359>\
**Category:** Ask for Help\
**Created:** [June 5, 2020, 4:53pm UTC](https://community.glideapps.com/t/increment-action/10359 "2020-06-05T16:53:24Z")\
**Posts on this page:** 20\
**Page:** 2

<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:** [June 6, 2020, 4:23pm UTC](https://community.glideapps.com/t/increment-action/10359/21 "2020-06-06T16:23:21Z")

</div>

How do you set that limit though? Let’s say I have a post in the community here, I can just upvote myself 100 times. If you stop people from voting at 100, for example, it does not make sense in my opinion.

---

<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:** [June 6, 2020, 4:23pm UTC](https://community.glideapps.com/t/increment-action/10359/22 "2020-06-06T16:23:22Z")

</div>

Only if the value of that column should never go higher than a certain amount. But in the case of likes or points you don’t want to put a limit on the maximum allowed. You just want to put a limit on the number of times it can be incremented by a single user.

---

<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:** [June 6, 2020, 4:25pm UTC](https://community.glideapps.com/t/increment-action/10359/23 "2020-06-06T16:25:02Z")

</div>

I also noticed that you can’t include an increment action component with in the edit tab or a form. I assume that’s because nothing gets written to the sheet yet but it would be awfully nice to include it somehow. I’m thinking of restaurants or inventory about adding quantity of items before submitting a form.

---

<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:** [June 6, 2020, 4:26pm UTC](https://community.glideapps.com/t/increment-action/10359/24 "2020-06-06T16:26:52Z")

</div>

Just an idea, Robert, I have seen some bots on Reddit that automatically delete their comments if the points reach below zero. Potentially a use case for a forum app when we can control the votes done by each user.

---

<div class="post-metadata">

**Author:** ![sardamit](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/sardamit/32/263_2.png) [@sardamit](https://community.glideapps.com/u/sardamit)\
**Post date:** [June 6, 2020, 4:33pm UTC](https://community.glideapps.com/t/increment-action/10359/25 "2020-06-06T16:33:54Z")

</div>

Have you guys tried upvoting from different devices?

Only votes from my builder are being recorded, and the upvotes from apps on phone/desktop are ignored.

App: [https://substackgems.glideapp.io/](https://substackgems.glideapp.io/)

---

<div class="post-metadata">

**Author:** ![Roberto\_Salim](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/roberto_salim/32/6861_2.png) [@Roberto\_Salim](https://community.glideapps.com/u/Roberto_Salim)\
**Post date:** [June 6, 2020, 5:21pm UTC](https://community.glideapps.com/t/increment-action/10359/26 "2020-06-06T17:21:23Z")

</div>

I got bored, in my case, I put a condition of If (…\> = 10 so when it arrives at 10 it crashes, not allowing to add, thus remaining 10, it will depend on the use case.

---

<div class="post-metadata">

**Author:** ![Manan\_Mehta](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/manan_mehta/32/13957_2.png) [@Manan\_Mehta](https://community.glideapps.com/u/Manan_Mehta)\
**Post date:** [June 6, 2020, 10:36pm UTC](https://community.glideapps.com/t/increment-action/10359/27 "2020-06-06T22:36:29Z")

</div>

Wow! What a great feature! Navigation between records and going to next/previous row can become so much simpler with this!

Try it out in the all bikes tab: [https://usedbikes.glideapp.io/](https://usedbikes.glideapp.io/)

---

<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:** [June 6, 2020, 11:00pm UTC](https://community.glideapps.com/t/increment-action/10359/28 "2020-06-06T23:00:33Z")

</div>

Wow didn’t think about the navigation with this. Great use case Manan, thanks a lot!

---

<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:** [June 6, 2020, 11:23pm UTC](https://community.glideapps.com/t/increment-action/10359/29 "2020-06-06T23:23:37Z")

</div>

My all bikes tab is empty?

---

<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:** [June 6, 2020, 11:29pm UTC](https://community.glideapps.com/t/increment-action/10359/30 "2020-06-06T23:29:00Z")

</div>

Awesome use case. I image every bike has a bike ID#? Relation from counter to the ID#?

---

<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:** [June 6, 2020, 11:52pm UTC](https://community.glideapps.com/t/increment-action/10359/31 "2020-06-06T23:52:29Z")

</div>

Would imagine so. Have a user-specific column that takes the increment value, relate them back to the bikes sheet with the counter ID.

I imagine the counter ID can be populated by an easy ARRAYFORMULA with ROW inside.

---

<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:** [June 7, 2020, 12:11am UTC](https://community.glideapps.com/t/increment-action/10359/32 "2020-06-07T00:11:29Z")

</div>

Ya, but it wouldn’t be that quick with spreadsheet formulas.

---

<div class="post-metadata">

**Author:** ![Mark](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/mark/32/125_2.png) [@Mark](https://community.glideapps.com/u/Mark)\
**Post date:** [June 7, 2020, 12:32am UTC](https://community.glideapps.com/t/increment-action/10359/33 "2020-06-07T00:32:07Z")

</div>

> [@sardamit](#):
>
> Only votes from my builder are being recorded, and the upvotes from apps on phone/desktop are ignored.

We’ll have this fixed on Tuesday. Sorry.

---

<div class="post-metadata">

**Author:** ![Manan\_Mehta](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/manan_mehta/32/13957_2.png) [@Manan\_Mehta](https://community.glideapps.com/u/Manan_Mehta)\
**Post date:** [June 7, 2020, 5:19am UTC](https://community.glideapps.com/t/increment-action/10359/34 "2020-06-07T05:19:40Z")

</div>

Yes this is exactly how I did it. Very straightforward with the increment function compared to what we had to do before to achieve the same.

---

<div class="post-metadata">

**Author:** ![Manan\_Mehta](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/manan_mehta/32/13957_2.png) [@Manan\_Mehta](https://community.glideapps.com/u/Manan_Mehta)\
**Post date:** [June 7, 2020, 5:23am UTC](https://community.glideapps.com/t/increment-action/10359/35 "2020-06-07T05:23:52Z")

</div>

Yeah there was a small thing I missed with the user-specific column. Fixed it!

---

<div class="post-metadata">

**Author:** ![sardamit](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/sardamit/32/263_2.png) [@sardamit](https://community.glideapps.com/u/sardamit)\
**Post date:** [June 7, 2020, 5:46am UTC](https://community.glideapps.com/t/increment-action/10359/36 "2020-06-07T05:46:23Z")

</div>

This feature wasn’t formally announced. Totally understandable, so no worries, @Mark.

---

<div class="post-metadata">

**Author:** ![Krivo](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/krivo/32/5363_2.png) [@Krivo](https://community.glideapps.com/u/Krivo)\
**Post date:** [June 7, 2020, 7:31am UTC](https://community.glideapps.com/t/increment-action/10359/37 "2020-06-07T07:31:26Z")

</div>

@Manan_Mehta would you be willing to share a small demo app how you accomplish the next/previous action. Could be great for the community I expect. 😊

---

<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:** [June 7, 2020, 7:40am UTC](https://community.glideapps.com/t/increment-action/10359/38 "2020-06-07T07:40:39Z")

</div>

I was about to try it and if Manan doesn’t have time I would write it.

But I would prioritise the Query post, as I promised to you guys in the community meetup. 😄

---

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [June 7, 2020, 1:23pm UTC](https://community.glideapps.com/t/increment-action/10359/39 "2020-06-07T13:23:54Z")

</div>

I did something similar in the memories tab here, but in a different way. [https://rwtsk.glideapp.io/](https://rwtsk.glideapp.io/)

The only thing I’d recommend is to make sure you are accounting for deleted rows. I used a helper sheet that used unique to remove any deleted rows, then figured out the values for previous/next, then pulled them back into the original sheet with a vlookup. Mine is different too in that it changes the entire screen to a different detail row, instead of just the relation like yours. However, I do like how yours keeps everything in the same detail screen. Might have to see if I can merge some of your ideas into mine.

---

<div class="post-metadata">

**Author:** ![erwblo](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/erwblo/32/75_2.png) [@erwblo](https://community.glideapps.com/u/erwblo)\
**Post date:** [June 7, 2020, 1:26pm UTC](https://community.glideapps.com/t/increment-action/10359/40 "2020-06-07T13:26:42Z")

</div>

Glide, the tool that is a game in itself: find the new feature!

[Previous page](https://community.glideapps.com/t/increment-action/10359.md?page=1)

[Next page](https://community.glideapps.com/t/increment-action/10359.md?page=3)
