XFA Specification
Chapter 15, Template Specification
Template Reference
668
The nullTest property
Controls whether the field can be left empty.
disabled
Do not perform this test (default). An empty field is perfectly acceptable.
error
Emit a
message
and refuse to accept an empty field.
warning
Emit a
message
if the field is empty, but allow the user to proceed to the next field.
The picture property
A
rendering
element that describes input parsing and output formatting information.
For more information see "The
picture element".
The script property
An
automation
element that contains a script.
For more information see "The
script element".
The scriptTest property
Controls validation by the enclosed script.
error
Emit a
message
and refuse to accept data that the script reports is erroneous (default).
disabled
Do not perform this test.
warning
Emit a
message
if the script reports the data is erroneous, but allow the user to proceed to the
next field.
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.
Home Index Bookmark Pages
Pages: Home Index All Pages