Skip to main content
randallt18530330
Inspiring
July 5, 2024
Answered

Calculations not working

  • July 5, 2024
  • 1 reply
  • 3159 views

So, in two forms calculations won't work. The real weird thing is that two of these forms were created off the original, and it is the original and one of the others that are not working. For the ones not working, neither the sum function or the simplified function works (I haven't tried the custom calc field). Is there a setting that has changed to prevent these from working for these documents and not the other one?

 

This is the simplied formula I am using: PowerPowerPlant-PowerSubPower (each of these are the exact names and tool tips of the fields in question)

 

Again, it works for one document but not the others.

Correct answer randallt18530330

I was able to add them without any problems.  Try again.  If you have an error it won't take.  You have to close the field and start over.  I copied and pasted you simplified field notation to the other fields and they took.


OK. So I opened them today, and tried it - and it all worked. I don't get it. Why would it not work before, but now it does. I really didn't do anything different.

1 reply

PDF Automation Station
Community Expert
Community Expert
July 5, 2024

Are there any errors in the console?  If a field is missing or a field name is incorrect (including case sensitivity) the calculation won't work.  Also, have you checked the calculation order?  It might have changed, causing issues.  If you can't solve it with these suggestions, share the forms if you are able and I'll take a look.

randallt18530330
Inspiring
July 5, 2024

As far as I can tell, everything was aligned and the sum function was working before I put in the power calculations column (and had the issue). Also, the order of the equation is is good, and I get no java error prompt; it just doesn't take and the highlighted button switches back to the "Value is not Calculated" button. 

Here are the three documents issues (if any):

Ship Record_SmallVessels: nothing, all is working.

Ship Record_MediumVessels & Ship Record_VesselsLarge: only the Simplified Field Notation (for the subtraction) isn't working.

Thank you for your assistance.

randallt18530330
randallt18530330AuthorCorrect answer
Inspiring
July 6, 2024

I was able to add them without any problems.  Try again.  If you have an error it won't take.  You have to close the field and start over.  I copied and pasted you simplified field notation to the other fields and they took.


OK. So I opened them today, and tried it - and it all worked. I don't get it. Why would it not work before, but now it does. I really didn't do anything different.