Skip to content

Add or Edit Folder-level JavaScript

A folder-level JavaScript is a JavaScript file (.js) that runs when Nitro PDF Pro starts. Use a folder-level JavaScript to:

  • Load reusable JavaScript functions into the application.
  • Run methods or access properties that only work during the application startup event.

Examples:

  • Load the current Windows user name into a global JavaScript variable at startup.
  • Load a list of employee names into a JavaScript array at startup. Forms that open in Nitro PDF Pro can then use this array.


To add or edit a folder level JavaScript

  1. Open Nitro PDF Pro
  2. On the Forms ribbon, in the Document Setup group, click on the arrow next to JavaScript and then select Folder LevelDocument setup
  3.  The directory where the JavaScripts are stored opens
  4. Add a new JavaScript file to the folder, or edit an existing file 

 

Last updated: July 30, 2026