On an order form, use a Number field for the quantity so a formula can calculate the line total.
Overview
Use Number for values you plan to calculate, compare, or chart, such as a quantity or measured distance. Use text for identifiers that must preserve every digit or leading zeros, such as account numbers and barcodes. Use Currency for amounts of money and Percent for rates. Currency · Percent
Add Number to the form
In the approval form designer, open Controls → Basic Fields and drag Number into a section or container. For a list form, add the existing Number field from Custom List Fields to write to the intended list column. Approval form designer · List form designer
Basic of the Number
Select the control and open Content → Basic. Set the Title, such as Order quantity. In an approval form, Yeeflow creates an associated variable. Use Edit to change the ID or name, or Reset to bind an existing Number variable. Check that formulas and workflow conditions read the intended variable. Form controls and associated variables and fields
Appearance of the Number
In Content → Appearance, use Placeholder for a hint when the field is empty. Choose the grouping format under Thousands Separator. For example, comma grouping displays 1234 as 1,234.
Use Rounded to to set the decimal places shown, up to 10. An order quantity can display zero decimals, while a measurement can display two or more. If precision affects a calculation, enter a value with more decimal places, reopen the record, and compare the stored value and the calculation result.
Set Display Title and Allow Comment as needed. To change the field’s behavior when a condition is met, use dynamic display rules. Dynamic Display Rules
Validation of the Number
Open Content → Validation to configure what users can enter.
Turn on Readonly to prevent editing during review. Use Required when the form needs an entry.
Set Minimum Value and Maximum Value to define the allowed range. For an order quantity, you could accept values from 1 through 1,000.
Set Step Value to control how much the up and down arrows increase or decrease the number.
Use Default Value to prefill new entries. For an extra rule, such as requiring whole units, use Custom Validation and set the error message. Custom Validation
In preview, check a blank entry, zero, both range limits, and a value outside the range. Check the arrows within the range and then type a decimal to test the whole-unit rule.
Action call of the Number
Create and save the form action. In Content → Action, select it under Value Changed. For example, use the changed quantity to update another form variable. Test a typed change and an arrow change, then check the result. Form Actions
Style the Number
Field - Editable
Under Style → Field - Editable, set the typography, alignment, padding, placeholder color, and field width. Use Normal and Focus to adjust color, background, border, radius, or shadow for each state. Field Alignment applies when the control is narrower than its container. Adjust the typography and color of the error message independently.
Field - Read Only
Under Style → Field - Read Only, set the typography, color, background, alignment, padding, border, and radius. Check whether grouped numbers and decimals fit in the review layout.
Style of title
Set the label typography and layout, and check it at desktop and phone widths. Title of field controls
Advanced Settings
Use Advanced for shared control settings. After saving, reopen a test record and check its value, display format, and form action. Advanced Settings Tab

