Overview #
Provides a decimal number input box.
Field Type Parameters: #
Decimals
(optional) – Number of digits to the right of the decimal point (the scale). Must be no larger than the Precision number of digits.Precision
(optional) – Maximum number of digits (the precision).Smart Input
(optional) – Allows input without pressing the decimal point key. Example: to type [12.67] just type [1267]. The decimal point will be placed automatically.
Value Processing Parameters: #
Basic usage:
{{ FieldName }}
Usage with parameters:
{{ FieldName(Number of decimals, Decimal Separator, Thousand Separator) }}
Number of decimals
(optional) – Number of decimal places to display. Adds trailing zeros if needed (useful for formatting currency).Decimal Separator
(optional) – Character to use as the decimal separator, e.g., ‘,’ or ‘.’Thousand Separator
(optional) – Character to use as the thousand separator, e.g., ‘,’ or ‘.’ or ‘ ‘ (space)
Example:
{{ FieldName(0,".",",") }}
Pure Value (Unprocessed): #
Example:
{{ FieldName.value }}
Edit Record Parameters: #
Parameters for configuring the input element for decimal numbers.
Basic usage:
{{ FieldName.edit }}
Usage with parameters:
{{ FieldName.edit(CSS Class, Attributes) }}
CSS Class
(optional) – Name(s) of the CSS class(es).Attributes
(optional) – Optional attributes such as: disabled, onclick, onchange, etc.
Example:
{{ FieldName.edit("inputboxClass","readonly='readonly'") }}
Leave a Reply
You must be logged in to post a comment.