Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

New to Adobe....Question about calculations

Avatar

Not applicable
I am doing something that I thought was relatively simple. I have created a form with numerous NumericFields, that I just need to have calculated at the bottom of my document. I thought that I got it figured out, becuase the fields actually calculate where I need them to, however when opening my document, an error shows...



Script failed (language is formclac; contect is xfa[0].form[0].F[0].P1[0].NumericField12[0])

script=sum1

Error:accessor 'sum1' is unknown.



Can anyone help with what this means?? Your help is GREATLY appreciated!!!
1 Reply

Avatar

Not applicable
Assuming that you are using formcalc and all the numeric fields has the same name as price[1], price[2], price[3] ....and so on. You can calculate the total by using Sum(price[*])



There is many examples that come with Designer. One of which is the purchase order example. You will find similar calculation being done in that form.