XFA Specification
Chapter 15, Template Specification
Template Reference
460
having an error override causes the processing application to present an error message. To avoid
the need for such error messages, form creators may wish to define such fields as read-only.
error
is the default override value if the calculate element is included in the container.
ignore
The calculated value is supplied as a default. If the user takes action to directly set the value of the
form object, the processing application allows the override to occur silently (without any warning
message to the user).
ignore
is the default override value if the calculate element is omitted from the container.
warning
The calculation is enabled, and the calculated value is recommended over user-input values. If the
user takes action to directly set the value of the form object, the processing application presents a
warning message. The message informs the user that the form object is recommended to have a
calculated value, and provides the user with the choices: dismiss or override. Users select dismiss
to indicate they wish to leave the calculated value undisturbed. Users select override to indicate
they understand the form's recommendation, but have chosen to override the calculated value
with a value of their choosing. The application does not issue any warnings or prompts on
subsequent gain of focus by the same object.
The script property
An
automation
element that contains a script.
For more information see "The
script element".
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.
Home Index Bookmark Pages
Pages: Home Index All Pages