Javascript

JavaScript
View output and JavaScript errors
April 29, 2021 08:22 PM
The Output Pane allows you to view any errors related to JavaScript or document processes, and will open automatically to alert you of any important output messages.
JavaScript
Use the JavaScript console
April 28, 2021 05:29 AM
You can open the JavaScript Console and write a script that doesn’t belong to any field or element. Scripts written in the JavaScript Console can be used to test routines and debug code.
JavaScript
Locate JavaScripts
April 19, 2021 05:31 PM
Whether you write scripts in your own documents, or browse files for scripts to examine, you first need to know where to look for JavaScripts. In Nitro Pro you can find JavaScripts in the following locations:
JavaScript
JavaScript security
April 19, 2021 05:15 PM
It is possible to obtain a PDF document containing embedded JavaScript that can trigger security vulnerabilities. Some users may wish to disable JavaScript for security reasons, or system administrators might need to disable JavaScript to abide by their company’s IT policy.
JavaScript
JavaScript
April 19, 2021 05:14 PM
To provide a complete description of how you can use JavaScript with Nitro Pro is well beyond the scope of this user manual. If you wish to gain programming knowledge in JavaScript, we recommend you review sources you can find on the Internet, as well as in books on JavaScript that can be obtained from your local library or book seller.
JavaScript
Copy and paste JavaScript
April 12, 2021 05:06 PM
JavaScripts can be copied and pasted from one field or other location in a PDF document or between two documents. If you examine PDF files for learning JavaScript programming, you can browse PDF files containing scripts, copy a script from a document you download from the Internet, and paste the code into the JavaScript Editor in your document. With a little code modification, you can quickly add scripts to your own files.
JavaScript
Color object
April 12, 2021 12:42 AM
An object that can be used when setting a color in other JavaScript methods and properties.
JavaScript
Add or edit folder level JavaScript
April 07, 2021 10:03 PM
Folder level JavaScripts are JavaScript files (.JS) that are run during application startup. These can be useful for loading reusable JavaScript functions into the application, or accessing methods/properties whose security restrictions only allow them to be run in the app/init event.
JavaScript
Add or edit document level JavaScript
April 07, 2021 09:59 PM
You can use JavaScript to add an almost infinite number of interactive features, create complex calculation formulas, and add more dynamic functionality to your PDFs.
JavaScript
Add or edit custom calculation JavaScript
April 07, 2021 09:57 PM
Any form you create that requires calculations is likely to require custom calculation scripts. The options you have available with preset calculation formulas are limited to simple multiplication and addition. Other kind of calculation you need requires writing a script.
JavaScript
Add a simplified field notation in a PDF file
April 07, 2021 09:28 PM
Simplified field notation is written more like formulas you add in spreadsheet applications like Microsoft Excel. Writing a notation is often an easier solution when adding calculation scripts.
Content Library

The Nitro 2022 Productivity Report

Learn how the pandemic has transformed productivity, workflows and digital initiatives, as well as the trends and technologies shaping work in 2022 and beyon.