# When button click +1 on a textbox

**URL:** https://forum.adalo.com/t/when-button-click-1-on-a-textbox/10069
**Category:** Get Help
**Created:** [March 8, 2021, 5:43am UTC](https://forum.adalo.com/t/when-button-click-1-on-a-textbox/10069 "2021-03-08T05:43:50Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![marcjosephajero](https://avatars.discourse-cdn.com/v4/letter/m/977dab/32.png) [@marcjosephajero](https://forum.adalo.com/u/marcjosephajero)
#### Post date: [March 8, 2021, 5:43am UTC](https://forum.adalo.com/t/when-button-click-1-on-a-textbox/10069/1 "2021-03-08T05:43:51Z")

</div>

hi guys… I’m newbie here could someone help me? I’m stuck with add button… I just want that, when you click a button it will plus 1 on a text box… ex. when button click +1

---

<div class="post-metadata">

### Author: ![Erik](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/erik/32/7849_2.png) [@Erik](https://forum.adalo.com/u/Erik)
#### Post date: [March 8, 2021, 6:01am UTC](https://forum.adalo.com/t/when-button-click-1-on-a-textbox/10069/2 "2021-03-08T06:01:35Z")

</div>

Hi Marc,

I think it’s easiest to give you an example - for a feature voting app you would:

- have a collection of features with a number property (votes)
- when the user clicks the add button have an action that updates the current idea with current idea\>vote sum + 1.

Hope that helps!  
Erik

---

<div class="post-metadata">

### Author: ![marcjosephajero](https://avatars.discourse-cdn.com/v4/letter/m/977dab/32.png) [@marcjosephajero](https://forum.adalo.com/u/marcjosephajero)
#### Post date: [March 8, 2021, 6:11am UTC](https://forum.adalo.com/t/when-button-click-1-on-a-textbox/10069/3 "2021-03-08T06:11:30Z")

</div>

Thank you for your response sir, But if that’s the only method like the add button sample on this theme plate that would cost a deep lag in my system… if data will travel through data base back to the user…

---

<div class="post-metadata">

### Author: ![Erik](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/erik/32/7849_2.png) [@Erik](https://forum.adalo.com/u/Erik)
#### Post date: [March 8, 2021, 7:01am UTC](https://forum.adalo.com/t/when-button-click-1-on-a-textbox/10069/4 "2021-03-08T07:01:17Z")

</div>

I just tested this on my computer, almost zero lag. Shouldn’t be an issue unless you have A LOT of records, in which case you may want to reduce the total number of records on the list.

---

<div class="post-metadata">

### Author: ![system](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/system/32/40401_2.png) [@system](https://forum.adalo.com/u/system)
#### Post date: [March 18, 2021, 7:01am UTC](https://forum.adalo.com/t/when-button-click-1-on-a-textbox/10069/5 "2021-03-18T07:01:51Z")

</div>

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