The form
interface in the JavaScript API respresents the Form that invokes the script.
form
gives access to:
- Elements belonging to the form including pages, fields, tables, resources, controls and texts
- Methods to query and modify the running form e.g.
form.getCurrentPage()
- Generating a PDF
- Uploading a file
- Navigation between forms and pages