Nitro PDF Professional: Create and change PDFs with the original Acrobat alternative.


Download the 14-day free trialBuy online now


Using simplified field notation

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.

To add a Simplified field notation:

  1. Open the properties of a Text field and click Calculate.
  2. Click Simplified field notation.
  3. Click Edit to open the JavaScript Editor.
  4. Type the code for your script. In this example, the same calculation for creating sales tax is added. The code in the JavaScript Editor is written as follows:
  5. subtotal * .0725;

  6. Click OK.

Tip: This script presumes you have another field on the page named: subtotal.


Excel is a registered trademark of Microsoft Corporation.