© Jennifer Harder 2017

Jennifer Harder, Enhancing Adobe Acrobat DC Forms with JavaScript, https://doi.org/10.1007/978-1-4842-2893-7_6

6. Basic and Complex Calculations

Jennifer Harder

(1)Delta, British Columbia, Canada

In the first example of JavaScript calculations in this chapter, we will compare three methods: Value, simplified field notation (SFN), and JavaScript as found in the Calculate tab in the Text and Dropdown Menu form fields, as shown in Figure 6-1.

A449379_1_En_6_Fig1_HTML.gif
Figure 6-1. Inside the Acrobat Calculate Tab Examples PDF file

While Value is generally the most straightforward way of dealing with calculations for beginner form creators, you will soon discover ...

Get Enhancing Adobe Acrobat DC Forms with JavaScript now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.