© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2023
J. HarderEnhancing Adobe Acrobat Forms with JavaScripthttps://doi.org/10.1007/978-1-4842-9470-3_6

6. Basic and Complex Calculations

Jennifer Harder1  
(1)
Delta, BC, Canada
 
Chapter Goal: In the first example of JavaScript calculations in this chapter, we will compare three methods, value, Simplified Field Notation (SFN), and JavaScript, as found on the Calculate tab in the Text and Dropdown List form fields, as shown in Figure 6-1.

A screenshot of a table with 4 columns, for example, object 1, object 2, and total. It has 7 rows for sum, product, subtract, divide, ...

Get Enhancing Adobe Acrobat Forms with JavaScript: Take Your Forms to the Next Level! now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.