# Increasing or decreasing a custom property by one

**URL:** <https://forum.inductiveautomation.com/t/increasing-or-decreasing-a-custom-property-by-one/112978>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [December 23, 2025, 8:57pm UTC](https://forum.inductiveautomation.com/t/increasing-or-decreasing-a-custom-property-by-one/112978 "2025-12-23T20:57:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![janderson1](https://avatars.discourse-cdn.com/v4/letter/j/439d5e/32.png) [@janderson1](https://forum.inductiveautomation.com/u/janderson1)\
**Post date:** [December 23, 2025, 8:57pm UTC](https://forum.inductiveautomation.com/t/increasing-or-decreasing-a-custom-property-by-one/112978/1 "2025-12-23T20:57:53Z")

</div>

Prepare yourself for the easiest question you’ve ever answered-

I have a numeric entry field that the user can enter a value into (Think between 1-150) and that value is then used to display certain information on the screen. It does this first by creating a custom property (In this case, it’s named ArrayValue) which has the configuration of this.props.value. I would like to add a button to either side of that numeric entry field, that increases or decreases the value of that custom property, ArrayValue, by one. What is a way to create these two new buttons? I have no idea why I’m struggling so much with what must be so simple that it’s going to hurt me to see the answer.

---

<div class="post-metadata">

**Author:** ![Kevin\_Flener](https://avatars.discourse-cdn.com/v4/letter/k/74df32/32.png) [@Kevin\_Flener](https://forum.inductiveautomation.com/u/Kevin_Flener)\
**Post date:** [December 23, 2025, 9:09pm UTC](https://forum.inductiveautomation.com/t/increasing-or-decreasing-a-custom-property-by-one/112978/2 "2025-12-23T21:09:26Z")

</div>

It should be as simple as placing a script on the buttons OnActionComplete event with something like:

`self.getSibling("NumericEntryField").custom.ArrayValue -= 1`and `self.getSibling(“NumericEntryField”).custom.ArrayValue += 1`

---

<div class="post-metadata">

**Author:** ![janderson1](https://avatars.discourse-cdn.com/v4/letter/j/439d5e/32.png) [@janderson1](https://forum.inductiveautomation.com/u/janderson1)\
**Post date:** [December 24, 2025, 3:47pm UTC](https://forum.inductiveautomation.com/t/increasing-or-decreasing-a-custom-property-by-one/112978/3 "2025-12-24T15:47:17Z")

</div>

Thank you- I knew it would be something simple. This worked perfectly.
