Number Field
The Number Field allows users to input numeric values only. It ensures data is stored as digits, supporting both whole numbers and decimals. You can also configure the number of decimal places displayed, making it suitable for values like quantities, currency, or measurements.
Properties
Number Field properties let you configure numeric input to fit your requirements. Core options include:
- Field Title: Display name for the field on forms.
- Field ID: Unique system identifier for references and expressions.
- Number of Decimals: Control precision by setting decimal places.
- Computed Value: Define dynamic formulas for automatic calculations.
- Validation: Ensure numeric accuracy with conditions and limits.
Field Settings
Number of Decimals
Defines how many decimal places the field will display and accept.
This ensures consistency when dealing with fractional values.
For example, set 0 for whole numbers only, 2 for currency values like 99.99
, or more for scientific or precise measurements.
Computed Value
Computed Values allow the Number Field to calculate results dynamically. You can:
- Reference another field (e.g.,
[Quantity] * [Price]
). - Apply arithmetic operations (addition, subtraction, multiplication, division).
- Use built-in numeric functions for rounding, averages, or advanced calculations.
See expression details here →
Validations
Validation rules for Number Fields enforce numeric accuracy and constraints:
- Equal To: Must match a specific number.
- Not Equal To: Must not match a specific number.
- Greater Than: Value must be higher than the specified number.
- Less Than: Value must be lower than the specified number.
- Greater Than or Equal To: Value must be equal or higher.
- Less Than or Equal To: Value must be equal or lower.
These rules help maintain strict numeric ranges such as minimum order quantities, budget caps, or threshold values.