XFA Specification
Chapter 15, Template Specification
Template Reference
647
The submit element
An element that describes how to submit data to a host, using an HTTP POST operation.
<submit
Properties:
embedPDF="0
|
1"
format="xdp
|
xfd
|
formdata
|
xml
|
pdf
|
urlencoded"
id="xml-id"
target="cdata"
textEncoding="cdata"
use="cdata"
usehref="cdata"
xdpContent="cdata"
>
</submit>
The submit element is used within the following other elements:
event proto
When an event containing a submit element is triggered, several factors influence whether the submission
occurs, as described in
"Submitting Data and Other Form Content to a Server".
The embedPDF property
embedPDF
specifies whether PDF is embedded in the submitted content or is represented as an external
reference. This property is relevant only in following circumstances:
Submitting event is part of a form included in or containing a PDF file.
Format used to organize the data is XDP, as determined by the
format
property.
XDP content being submitted includes PDF and/or XFDF, as determined by the
xdpContent
property.
0
The associated PDF document is not embedded in the XDP PDF packet; rather, a URI is optionally
provided. The URI must resolve to a PDF resource of MIME type pdf. The URI is the value of the
href
attribute in the XDP PDF packet. The URI may be obtained from the XFDF F-key path, which
is relative to the system on which the original PDF file was created. If the URI is unavailable, neither
the PDF itself nor a URI is included in the PDF packet in the submitted XDP.
1
A copy of the associated PDF document is embedded in the submitted XDP. If the XFA application
is capable of updating the PDF (for example, by adding annotations), the updated PDF is included
in the PDF packet in the submitted XDP.
The format property
Determines the format in which the data will be submitted.
xdp
The data is packaged in XDP format, as described in
XDP Specification.
Home Index Bookmark Pages
Pages: Home Index All Pages