Numeric Box¶
NumericBox edits a number at its XPath. It uses the active client locale for decimal and thousands separators, then writes a normalized numeric string to the data model.
XML Fields¶
Value and Formatting¶
XPathidentifies the numeric form-data field.Decimalsselects the number of displayed and saved decimal places.ShowDigitscontrols whether thousands separators are displayed according to the form culture.
Layout and Validation¶
Sizecontrols width andPlaceHoldersupplies in-field help.RequiredForGroupapplies grouped validation.Hintsprovides help text andRulesis the place to define business limits, required conditions, or other numeric validation.
Formatting¶
Decimals controls the number of decimal places and defaults to 2. ShowDigits controls whether thousands separators are displayed and defaults to true. Define business minimum and maximum values with form validation rules rather than relying on input formatting.
For RequiredForGroup validation, both an empty value and 0 are treated as missing. Use a separate validation rule when zero is valid but the field must still be required. When read-only, the value is shown as formatted display text instead of an input.
Example¶
1 2 3 4 5 | |