Skip to main content
Known Participant
June 5, 2025
Answered

I need help with a calculating doc you with java script

  • June 5, 2025
  • 2 replies
  • 377 views

Some of the calculations seem to be working. But a few aren't. I'm new to this I'll do my best to explain. I've attached the document. But also breaking down and try to explain whats suppose to happen vs whats happening.

 

The top number "National Everyday" dictates all the other numbers and calculations. 

When I enter a number you can see below the calculations don't calculate on the right under the 40% and 15%

 

When I delete the top number "National Everyday" the calculations on the right appear

 

Thank you for your time and help! 

 

Correct answer Thom Parker

Sounds like at least part of the issue is calculation order.   Check this first. 

It's on the "More..." menu in the "Prepare Form" tools. 

 

2 replies

Thom Parker
Community Expert
Thom ParkerCommunity ExpertCorrect answer
Community Expert
June 5, 2025

Sounds like at least part of the issue is calculation order.   Check this first. 

It's on the "More..." menu in the "Prepare Form" tools. 

 

Thom Parker - Software Developer at PDFScriptingUse the Acrobat JavaScript Reference early and often
Known Participant
June 6, 2025

Thank you so much! that did it! I'm reading the link now. I appreciate the help.