11.2.1 for Windows

Table Of Contents
Foxit PDF Editor
Chapter 9: Forms User Manual
313
To change the field calculation order, select the field from the list, and then click
the Up or Down button as needed.
Click OK to finish.
Edit Static XFA Forms
Foxit PDF Editor supports editing of static XFA forms.
To edit static XFA forms, please do as below:
1. Open the static XFA form with Foxit PDF Editor and choose Form > Edit Static XFA
Form. You’ll be prompted to save a copy of the original file to continue to edit.
2. Click Yes to edit the form as needed.
JavaScript
JavaScript is a dynamic, prototype-based language with first-class functions, which
serves as a means to easily create interactive web pages. In Foxit PDF Editor, you can
easily integrate this level of interactivity into your PDF documents.
With Foxit PDF Editor, you can invoke JavaScript code using actions associated with
documents, bookmarks, links, and pages. Foxit PDF Editor provides four options
Document JavaScript, Document Action, JavaScript Console, and Edit All JavaScripts.
The Document JavaScript lets you create or access document level scripts in Foxit PDF
Editor. The Document Action lets you create document-level JavaScript actions that
apply to the entire document. The JavaScript Console provides an interactive and
convenient interface for testing portions of JavaScript code and experimenting with
object properties and methods. The Edit All JavaScripts option allows you to create
and edit all JavaScripts (e.g. bookmark JavaScripts, page JavaScripts, etc.) in the
JavaScript Editor.
(Tip: You can modify JavaScript code using other JavaScript editors you are familiar with
such as WebStorm and Sublime Text. To do this, you need to add the JavaScript editor first
in File > Preferences > JavaScript. See also Use external JavaScript editor.)
Document JavaScript
Document JavaScripts are variable and function definitions that are generally useful
to a given document, but are not applicable outside the document.