Sign In

Number

A numeric input field with optional min/max value validation.

The Number field renders a numeric-only input with browser-native increment/decrement controls. It is suitable for collecting quantities, ages, amounts, or any integer or decimal value. The editor exposes min and max value constraints.

For the shared properties available on all fields (label, help, note, key, width, visual styling, required), see the Form Fields Overview.

Configuration

PropertyTypeDefaultDescription
placeholderstring"0"Ghost text shown inside the input when empty. Supports "{{variable}}" interpolation.
validations.minnumber--Minimum acceptable value
validations.maxnumber--Maximum acceptable value

Validation

The Number field extends InputFieldBase, so the required toggle is available. When min or max is set, values outside that range produce a validation error on submit.

Example Usage

An order quantity field that accepts between 1 and 100 units:

{
  "type": "number",
  "label": "Quantity",
  "required": true,
  "placeholder": "1",
  "validations": {
    "min": 1,
    "max": 100
  }
}

On this page

Number | Buildorado