Skip to main content
Participating Frequently
Oct 3, 2017 8:27 PM UTC
Answered

How do you refresh a PDF form to show an updated price total?

Hello.  I am using Acrobat Pro 11.  I have created a few Quantity Text boxes that when they are filled in with a number, there is a Total box that is supposed to show the new total the customer owes.  The problem is the Total Box is not updating when I fill in the number in a Quantity text box.  Total box only updates when you click inside another Quantity Text box and fill it in with a number.  In other words, my Total box is always one step behind.  It shows lower amount than actual.  I was hoping there was a command or java script that forces the Total box to update price data as I enter a number in the Quantity Text box.  Any thoughts?  Thank you in advance.

This topic is closed to new replies. Start a new post to keep the conversation going.
Karl Heinz  Kremer
Karl Heinz KremerCorrect answer
Community Expert
Oct 3, 2017 8:33 PM UTC

If your calculated value is always one step behind, that points to a problem with the calculation order. Make sure that values you need for the final result are calculated before the final calculation. You can find the calculation order function vie the menu on the right hand pane of the form editor.

4 replies

try67
Community Expert
Community Expert
Oct 3, 2017 8:44 PM UTC

When you enter a value into a field that value is only applied when you exit the field. It's possible to do it as you're typing it, but it requires a much more complex custom Keystroke script to perform that calculation and apply the value to the target field.

Translate
Participant
Feb 18, 2021 2:28 PM UTC

I have the same problem, my calculated value is one step behind...two same calculations work perfectly but one with same formula and carachteristics doesn't. any suggenstion? or some kind of refresh button?

Translate
try67
Community Expert
Community Expert
Feb 18, 2021 3:18 PM UTC

See above. The issue is the fields calculation order.

Translate
Karl Heinz  Kremer
Community Expert
Karl Heinz KremerCommunity ExpertCorrect answer
Community Expert
Oct 3, 2017 8:33 PM UTC

If your calculated value is always one step behind, that points to a problem with the calculation order. Make sure that values you need for the final result are calculated before the final calculation. You can find the calculation order function vie the menu on the right hand pane of the form editor.

Translate