Skip to main content
shannonr80675036
Participant
April 15, 2016
Question

PDF calculation problem: Simple subtraction not working

  • April 15, 2016
  • 2 replies
  • 1485 views

I am trying to subtract two fields, typed in java script, and am having no luck with it calculating. The field names match, there are no spaces; my formula is "H-SD" nothing more. I am using Adobe Acrobat Pro XI. This needs to be completed by next Wednesday, April 20, 2016. Any ideas?

This topic has been closed for replies.

2 replies

Inspiring
April 15, 2016

Have you checked the JavaScript console in Acrobat for any errors?

You can use the simplified field notation option and just use the field names with a minus sigh between them.

If you are using the custom JavaScript Calculation, it is more complicated since one needs to add code to focus on the various field objects and their properties as well as providing the symbol for the calculation. There may also be some issues with the value of the field and displayed rounded value.

try67
Community Expert
Community Expert
April 15, 2016

Add a space between the field names and the minus sign.

On Apr 15, 2016 7:10 PM, "shannonr80675036" <forums_noreply@adobe.com>