XFA Specification
Chapter 15, Template Specification
Template Reference
487
The leadDigits property
The maximum number of digits (inclusively) preceding the decimal point to capture and store. The default
value (
-1
) indicates the number of preceding digits is retained. For example, if the data associated with the
decimal
content type is "00012.0", the unformatted data is printed or displayed as "00012.0". It is an error
if the number of preceding digits in the value exceeds the value of leadDigits.
The name property
An identifier that may be used to identify this element in script expressions.
The use property
Invokes another object in the same document as a prototype for this object. The content of this property is
either a SOM expression (which cannot start with '#') or a '#' character followed by an XML ID.
Starting with XFA 2.4 the object used as a prototype no longer needs to be the child of
proto
. Any object
of the appropriate class can be used as a prototype.
If both
use
and
usehref
are non-empty
usehref
takes precedence.
The usehref property
Invokes an external object as a prototype for this object. The content of this property is an URL, followed
by '#', followed by either an XML ID or by som(SOM_expr) where
SOM_expr
represents a SOM expression.
The XML ID or SOM expression is resolved in the context of the external document.
If both
use
and
usehref
are non-empty
usehref
takes precedence.