Skip to Content
author's profile photo Former Member
Former Member

Calculate sub totals & totals

Hi All,

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

if possible explain with simple scenario.

Regards.

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Aug 29, 2013 at 12:17 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 28, 2013 at 12:48 PM

    Hi Ravi,

    Please follow below link.

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

    Thanks,

    Rakesh

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 28, 2013 at 01:48 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.