Skip to content

Increment / Decrement Element

The Increment / Decrement element provides a counter control with +/- buttons for adjusting numeric values.


Overview

Increment / Decrement is ideal for:

  • Quantity selectors
  • Age input
  • Counter controls
  • Difficulty levels
  • Any stepped numeric adjustment

Adding an Increment / Decrement Element

  1. Open the Website Builder
  2. Find Increment / Decrement in the Elements panel
  3. Drag it onto your page
  4. Configure the range in the General Tab

Properties

General Tab

PropertyDescription
Question TextLabel displayed above the counter
Min ValueLowest allowed value
Max ValueHighest allowed value
Step ValueAmount to add/subtract per click
Default ValueInitial counter value

Validation Rules

  • Min value must be less than max value minus step
  • Step value cannot be zero or empty
  • Default value must be within [min, max] range

Color Tab

PropertyDescription
Panel BackgroundContainer background
Button Colors+/- button styling
Display ColorsCurrent value display

Dimensions Tab

PropertyDescription
Font SizeValue display size
Button Size+/- button dimensions
PaddingInner spacing

Visual Display

The counter displays the current value with +/- buttons:

      [ 5 ]
    [-]   [+]

Clicking - decreases and + increases the value.


Decimal Support

The element supports decimal values:

  • Step of 0.5 → 0, 0.5, 1, 1.5, 2...
  • Step of 0.1 → 0, 0.1, 0.2, 0.3...

Decimal precision is automatically calculated.


Use Cases

Quantity Selector

Label: "Quantity"
Min: 1
Max: 99
Step: 1
Default: 1

Age Input

Label: "Age"
Min: 0
Max: 120
Step: 1
Default: 25

Difficulty Level

Label: "Difficulty"
Min: 1
Max: 5
Step: 1
Default: 3

Portion Size

Label: "Portions"
Min: 0.5
Max: 10
Step: 0.5
Default: 1

Increment/Decrement vs Other Elements

ElementBest For
Increment/DecrementPrecise adjustments with buttons
SliderVisual range selection
Numeric InputFree-form number entry
DropdownFixed set of options

Best Practices

  1. Set logical limits - Prevent values that don't make sense

  2. Choose appropriate steps - Match real-world increments

  3. Set sensible defaults - Start at a common value

  4. Label clearly - Show what the number represents

  5. Consider button size - Make buttons easy to tap on mobile


Questions?

If you have any questions, please don't hesitate to contact us. Alternatively, you can submit an issue on this platform.

Useful Links:

Web Elements - https://help.acenji.com/#/./create-web-application/elements/index Numeric Input - https://help.acenji.com/#/./create-web-application/elements/numeric-input/index Slider - https://help.acenji.com/#/./create-web-application/elements/slider/index

Was this article helpful?

No-Code App Builder