Numeric

A numeric field provides a single line field into which the user can enter only numeric characters.



When you configure a numeric field, you specify a minimum and maximum length of characters that can be entered (between 0 and 1000). In addition, you can specify a dependency on one or more prior fields on the form. A dependency on a prior field controls whether or not the numeric field appears on the form and can be based on any value entered in the field or on a precise value.

A numeric field can be configured to calculate a value using other fields. You can set up field to perform calculations on numeric fields and date fields.

The below example shows a section of a form which contains three numeric fields. Two numeric fields can have values entered into them, and the third numeric field will update to display the total of the two values entered.



Note that each of the numeric fields have been assigned a specific form cell number. For example, the Total Value: numeric field has been assigned the F3 cell. To configure the Total Value: numeric field so that it adds both the entered values 1 and 2 together, select the Calculated Value check box on the Configuration screen. The Calculations section will expand, as shown below.



In the Fields section, click the [F1] cell to add it into the Formula section. Then select the + default operator and select the F2 cell. Your Formula section should now appear like the below screenshot.



You can test the formula by entering numbers into the Test Value fields and clicking Test.



The above screenshot shows a basic calculation test carried out using the formula. You can see that if you enter 3 into the Value 1 field and then entered 4 into the Value 2 field, the Total Value field automatically displays the value of both added together. Finally, to add this calculated value to the F3 cell in the designer, click Apply.