preSave event

Description

Initiates immediately before form data is saved in PDF or XDP format. This event does not initiate when the form data or another subset of the form is exported to XDP.

Type

Application event

Support

Client application

Availability

Acrobat and Adobe Reader

yes

HTML browser

yes

Version

XFA 2.1

Example

You can use this event to change form data immediately before the data is saved. For example, you can create a script on the preSave event to scan the data and display a reminder message to the form filler if certain required fields remain empty.

// Ethnio survey code removed