Number Field
Data Type
Section titled “Data Type”Stores only whole numbers. Does not support decimal places. You can choose to have thousand separate or not.
Example
Section titled “Example”
Used to store whole numbers without decimal places (use Decimal field to store numbers with decimal places). The default value of a number field is automatically set to 0 (zero).
Supported Functions
Section titled “Supported Functions”- Validations: Lets your validate the user input to the field via visual rules or a JavaScript.
- Visibility controls: You can set visual conditions so that this field is shown, hidden or made read-only
- Computations: Set the value of the field automatically by visually building an equation or assigning a JavaScript.
- Actions (Event handlers): You can execute one or more form operations when an action is triggered.
You can manage basic field configurations under the “General” Tab

You can set rules to validate number field values in various ways, either by a single rule or multiple rules based on conditions related to other field or variable values. These validations can check if a field:
- Is Equal To: This validation checks if the numerical value of the field is exactly the same as the value of another field a variable, or a custom value. For example, you can validate if the “Quantity Shipped” field is equal to the “Quantity Ordered” field
- Is Not Equal To: This validation ensures that the numerical value of the field is different from the value of another field, variable or a custom value.
- Is Greater Than: This rule checks if the numerical value of the field is higher than the value of another field, a variable, or a custom value. For example, it can ensure that Quantity is greater than 0.
- Is Less Than: This validation checks if the numerical value of the field is lower than the value of another field, variable or a custom value. For example, it can ensure that the “Quantity Ordered” field is less than the “Stock Available”.
- Is Greater Than Or Equal To: This rule validates that the numerical value of the field is either greater than or exactly equal to the value of another field, variable or a custom value.
- Is Less Than Or Equal To: This validation ensures that the numerical value of the field is either less than or exactly equal to the value of another field, variable or a custom value.For instance, it can verify that the “Quantity Returned” field is less than or equal to the “Quantity Purchased” field
- Validate With Script: This allows for more complex numerical validations using custom scripts. These scripts can be written to enforce specific rules that involve comparisons with other fields, variable or a custom value.
In the example below, we make sure that the minimum quantity is 1 and does not exceed the available quantity.

You can set rules to make a field conditionally visible, based on conditions related to other field or variable values.
In the example below, the ‘Quantity’ field will be visible only if the Expense Category is selected as ‘Office Supplies’. Otherwise, the field will remain hidden.

You can set the value of the field automatically by building an equation that computes using other field values, form variables, system variables, or by using JavaScript. Additionally, the value can be computed conditionally based on other field values or form variables.
The example below shows how to configure a simple operation to calculate the remaining quantity of stationery items by subtracting the requested quantity from the available quantity.

You can configure multiple form operations based on different events:
- On Click: Executes when the user clicks on the field.
- On Focus Out: Executes when the user takes focus out of the field after typing.
The available operations include:
- Database: Runs a read/write/update operation on a local data table.
- HTTP: Calls an HTTP request.
- Script: Executes a JavaScript script.
- Assignment: Runs an assignment operation, such as setting the value of one or more fields or variables.
- Alerts : To communicate important information or actions to the user
- Save Card : Triggers the system to automatically save the card
The operations will execute in the same order as they are configured.