The Numeric tool allows users to enter a number into a form. When a user taps in a numeric field in a mobile form, the numeric keypad will appear on the screen, rather than an alphanumeric keyboard. When inserting a Numeric tool into a form, you can format it as either an Integer, Decimal, or a Percentage. You can also choose to use a currency symbol in conjunction with a Numeric field; use the Decimal format if using a currency symbol.
The image below shows an example of a Numeric field used to capture the number of apples entered by the mobile form user:
Properties
Default value: The value that appears in the Numeric field when the form is first opened. Leave this field blank if you don't want any value to appear. If you do include a default value in the field, the mobile user will be able to change the value (unless the field is marked Read only). Entering a default value is very useful if you expect the mobile form user to enter a specific number frequently. Note that repeating values can also be set on the mobile app using the Remember Answer option.
Number type: Select either Integer (only whole numbers accepted), Decimal (accepts numbers with up to 6 decimal places after the decimal point), or a Percentage (turns any number entered into a percentage).
Format
Suppress keyboard: (Android only) Don't display the keyboard for this field. This is useful when using scanned input.
Use currency symbol: If you select this checkbox, you will be asked to choose a currency symbol from a drop-down list. The selected symbol will be placed in front of the entered numeric value in the mobile form. Note that the currency symbol is for display and PDF report purposes only; the currency symbol is not exported to Excel, CSV, or other Save as formats. The currency is, however, exported via web services and Sync & Save.
Show commas: Include thousand separators.
Negative number: These settings determine what the answer looks like if the numeric entered is negative. If "Red Text" is selected it will turn the answer red and if "Bracket" is selected it will put the negative number into () brackets. Both settings can be applied or the user can select one.
Security: Select Encrypt field to encrypt the value entered.
Range: Sets the Minimum and Maximum values that the mobile user may enter into the Numeric field.
Compare: This setting is used to compare two numeric fields to ensure they meet a condition (the user is prevented from submitting the form unless the condition is true). You can see if one numeric field is less than, greater than, less than or equal to, greater than or equal to, or equal to another field. For example, suppose your form has two numeric fields: Total number of apples and Number of rotten apples. Since the number of rotten apples cannot be greater than the total number of apples, you can Compare these two fields to ensure that the user cannot enter a number of rotten apples that is greater than the total number of apples.
The image below shows how to configure the Compare setting based on our example described above. The setting shows the Number of rotten apples (highlighted in red, below) must be less than or equal to the Total number of apples (highlighted in green, below):
Appearance
Lock screen: Don't automatically scroll the screen when the field is selected. Useful when the field is automatically selected by using Jump to.