#
NUMBER
Paid feature
The NUMBER component prompts users to enter numeric data on the mobile device.
The component displays a numeric keyboard for data entry:
Missing the minus - sign on your keyboard?
Install a compatible keyboard such as Gboard.
Need an alphanumeric keyboard?
Use the TEXT component.
#
Example
To collect product quantity during scanning:
Add a NUMBER component to your output template:
When scanning a barcode, the application displays a numeric keyboard for data entry.
See it in action:
#
Advanced
#
Filters
Validate numeric input using regular expressions.
#
Example
To accept only positive numbers, use this filter:
^[1-9]\d*$
This accepts values like 134556, 248455, 315151, but rejects 0, -1, -2.
#
Need help with regular expressions?
Use AI tools like ChatGPT to generate regular expressions.
Example prompt:
Write a regular expression to validate strings that start with a number and end with 0. Output only the regex that I should put between slashes in js.