Copy link to clipboard
Copied
i have a small question regarding formulas in acrobat. 4 fields there... if i enter a number in one of them i want to calculate the values of the other 3 fields. if i enter another number in a second field (not empty) the calculation should start from the beginning.... who can help me there??
Copy link to clipboard
Copied
HI,
One of the easiest ways to get a calculation updated on multiple fields, is to create the javascript at a document level and then call it from the validation event of each field, that way it will be run when each field is exited with the new values, but you wont suffer from the code being run when none of the fields are changed, which is what can happen with the calculate event.
You can search in the tools for 'JavaScript' and you should see the Document scripts option where you can add a script that will be available to any field in your document.
Hope this helps
Malcolm
Copy link to clipboard
Copied
All fields with calculations are recalculated when the value of any field used in a calculation is changed. Note you may have to specify the correct calculation order for the correct values to be calculated and displayed.
Copy link to clipboard
Copied
What are you experiencing now, and exactly how do these fields interact?