cancel
Showing results for 
Search instead for 
Did you mean: 

Calculate sub totals & totals

Former Member
0 Kudos

Hi All,

Can any one help how to calculate subtotals & totals in adobe forms?

if possible explain with simple scenario.

Regards.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Ravi,

You can use the method mentioned by Rakesh , or if you you can do the calculation in initialization event of form interface and pass it to form using global variable.

Hope this helps.

regards,

Xiang Li

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi ravi

If you use FormCalc you have the 'sum( )' function.

You can send as many parameters as you wish separated by commas, for elements with more than one occuranc use [*].

Example:

var sumOfElements = sum( root_element.subform.table.row[*].cell[*], {any other elements} )

regards

Shai

rakesh_m2
Contributor
0 Kudos

Hi Ravi,

Please follow below link. 

http://www.saptechnical.com/Tutorials/AdobeForms/Totals/page1.htm

Thanks,

Rakesh