format

Determines the format in which to submit the data.

Syntax

Reference_Syntax.format = "pdfEnvelope | xmlEnvelope"

Values

Type

Values

String

For the encrypt object:

  • pdfEnvelope

  • xmlEnvelope

Adds the contents being submitted to a PDF document as an encrypted attachment.

  • xmlEnvelope

Encrypts the contents being submitted using W3C XML encryption and contains them within an XML envelope.

String

For the submit object:

  • xdp (default)

  • formdata

  • pdf

The data is packaged in XDP format.

  • formdata

  • pdf

The data is packaged in URL-encoded format as described in Uniform Resource Locators (URL).

  • pdf

The data is packaged in PDF as described in the Adobe PDF Specifications.

Applies to

Version

XFA 2.1

Examples

JavaScript

Button1.resolveNode("#event.#submit").format = "pdf"

FormCalc

Button1.#event.#submit.format = "pdf"

// Ethnio survey code removed