Increment Value

Increase or decrease a number by any value.

With the Increment Value action, you can increase or decrease a number by any value that you choose.

Incrementing a number by one.

The Increment Value action can be used as an action in the components of your app (like ButtonsCollections, and much more), or it can be triggered along with other actions as part of a Custom Action.

Setting up the Increment Value Action

In the Layout Editor

  1. Click on the plus (+) sign in the Components panel and select the Component you want to trigger the action.

  2. In the General tab on the right side of the Layout Editor, navigate to the Actions section and select Increment number.

  3. Select the icon and descriptive text to use in your app.

  4. Choose which row and column in your data source should be the target of the action.

  5. Enter how much to increase the value by. To decrease the value instead, add a minus symbol (-) in front of the value.

  6. You can optionally add Conditions for certain criteria to be met before a user can trigger this action.

In the Action Editor

  1. Select the + New Action button. If you have existing actions, click on the plus (+) sign in the left panel.

  2. Select the data source for your action.

  3. Configure your first action by clicking the first action in the sequence. You can also add Conditions to your actions, if needed.

  4. To add new actions to the flow, hover just underneath an action and click the plus button. In this way you can add the Increment Value action as just one step in a larger workflow.

Check the Introduction to Actions page for a full list of components that can be used to trigger actions.

Have a question about Increment Value? Ask the Glide community.

Updated more than a week ago
Was this article helpful?