PROCESIO
OverviewPlatform ActionsIntegrations & DemosMarketplaceCustom ActionsDeveloperโ€™s Guide

Number Input

The Number Input element collects a number, whole or decimal, and keeps the form from being submitted while the field holds anything else.

The Number Input element is built for numeric data: quantities, prices, scores, percentages or any other number. It accepts whole numbers and decimals.

Like the Text Input, it supports regex-based validation, default values, read-only and disabled modes, and full runtime manipulation via the Procesio Forms data model.

Entering a number

The field accepts whatever the person types, and checks it as they type:

  • A whole number such as 42, a negative number such as -8, or a decimal with a dot, such as 1234.5, is a number.
  • On phones and tablets the field opens a keyboard for numbers.
  • While the field holds text that is not a number, such as abc, the form's Submit button is disabled and nothing is sent. Hover the disabled Submit button to see the reason: "Enter a number, for example 1234.5." As soon as the field holds a number again, Submit is enabled.

An empty field does not block Submit. Turn on Required to make a value mandatory.

Key Use Cases

โ€ข Quantity fields, pricing inputs, age or score collection

โ€ข Dynamically updating a total or calculated field at runtime by setting value

โ€ข Setting min/max constraints via regex or external form logic

โ€ข Locking a numeric field after a process step by toggling readonly at runtime

โ€ข Pre-filling budget, quota, or threshold values from process variables on form load

Runtime API โ€” Attributes in Procesio Forms

All attributes below are accessible and modifiable at runtime via the element's data model in Procesio Forms โ€” on any available event such as onLoad, onChange, or custom triggers.

API NameDescriptionTypeDefaultNotes
labelDisplay label shown above the input fieldstringโ€”โ€”
placeholderHint text shown inside the empty fieldstringโ€”โ€”
tooltipHelp text shown alongside the labelstringโ€”โ€”
infotextSupplementary info displayed below the inputstringโ€”โ€”
defaultvalueInitial value when the form loadsnumber|stringโ€”โ€”
valueCurrent runtime value โ€” read or set programmaticallynumber|stringโ€”โ€”
readonlyIf true, users can view but not edit the valuebooleanfalseโ€”
disabledIf true, the field is fully non-interactivebooleanfalseโ€”
visibleControls element visibilitybooleantrueโ€”
nameUnique name for referencing in logic/eventsstringโ€”โ€”
idUnique element IDstringโ€”โ€”
requiredMarks the field as mandatory on submitbooleanfalseโ€”
regexRegex pattern for custom numeric validationstring|nullโ€”โ€”

For support, please join our Discord community for further assistance and support.

On this page