Skip to content

NumberFormatting

Overview

The NumberFormatting control supports number formatting functionality for numeric field inputs. Using Number Formatting, number values have the capability to be displayed as notations, percents, or currencies, in numeric formats specific to any locale, and subject to a number of other custom numeric specifications. In addition to granting form creators an array of formatting options to match their needs, this capability increases form readability as users are able to better understand field numeric types without the addition of text-based explanations. Easy and intuitive interpretation of input is provided to users, while database representation remains in the desired un-formatted type.

Post-Populated Field

Required Fields

  • Name: The name of the field saved to the database. See here for details and restrictions.

  • Type: Can be any of the following types:

    • System.Int32
    • System.Int64
    • System.Double
    • System.Single
    • System.Decimal
  • ControlType: Must be set to NumberFormatting.

Optional Fields

  • FormattingLocale: The "locale" describing what cultural norms to use when formatting the number. If not provided or blank, defaults to United States English (en-us).
  • FormattingOptions: Options describing what formatting to apply to the number.
  • Min: This defines the minimum possible numeric input into the NumberFormatting field. All input values below will display an error box to the user.
  • Max: This defines the maximum possible numeric input into the NumberFormatting field. All input values above will display an error box to the user.
  • DefaultValue: This defines the default value that is displayed to the user and stored in number representation on the database upon initialization.