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
- Open the Website Builder
- Find Increment / Decrement in the Elements panel
- Drag it onto your page
- Configure the range in the General Tab
Properties
General Tab
| Property | Description |
|---|---|
| Question Text | Label displayed above the counter |
| Min Value | Lowest allowed value |
| Max Value | Highest allowed value |
| Step Value | Amount to add/subtract per click |
| Default Value | Initial 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
| Property | Description |
|---|---|
| Panel Background | Container background |
| Button Colors | +/- button styling |
| Display Colors | Current value display |
Dimensions Tab
| Property | Description |
|---|---|
| Font Size | Value display size |
| Button Size | +/- button dimensions |
| Padding | Inner 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: 1Age Input
Label: "Age"
Min: 0
Max: 120
Step: 1
Default: 25Difficulty Level
Label: "Difficulty"
Min: 1
Max: 5
Step: 1
Default: 3Portion Size
Label: "Portions"
Min: 0.5
Max: 10
Step: 0.5
Default: 1Increment/Decrement vs Other Elements
| Element | Best For |
|---|---|
| Increment/Decrement | Precise adjustments with buttons |
| Slider | Visual range selection |
| Numeric Input | Free-form number entry |
| Dropdown | Fixed set of options |
Best Practices
Set logical limits - Prevent values that don't make sense
Choose appropriate steps - Match real-world increments
Set sensible defaults - Start at a common value
Label clearly - Show what the number represents
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