Specifies the maximum number of digits (inclusively) preceding the decimal point to capture and store.
Reference_Syntax.leadDigits = "0 | integer"
Type
Values
String
0 (default)
A valid string representing any integer value.
Model
Object
Form Model
decimal
XFA 2.1
For these examples, the numeric field data type should be set to decimal.
NumericField1.resolveNode("value.#decimal").leadDigits = "2";
NumericField1.value.#decimal.leadDigits = "2"
Legal Notices | Online Privacy Policy
Content from Scripting Reference (10).
Other versions: