Adobe LiveCycle Designer script to sum the values of table column. | Community
Skip to main content
November 15, 2022
Question

Adobe LiveCycle Designer script to sum the values of table column.

  • November 15, 2022
  • 1 reply
  • 1482 views

Hallo,

I am relatively new to Adobe LiveCycle Designer, i am trying to get the sum of a decimal field "Net Value" column, and outside the table in "Term of Payment" field i am doing some calculation where i am calculating the discount amount and the total amount that the user should pay.

In this example i have 2 positions in the table, and in the initialize event of the "Net Value" subform, i am trying to sum the values of the "Net Value" column and assign it to a decimal field "decSkontoSum"  in the same subform, but unfortunately it assign just the first position value of the table as shown in the first screenshot.

 In the Initialize even of the "Term of Payment" field  i am getting the value of the "decSkontoSum" and then do the calculations of the discount with it.

 

 How to get the sum of the "Net Value" column i this case the sum of the two positions ? i have tried to use Sum function in the "calculate" event of "decSkontoSum" field but unfortunately it did not work.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

SantoshSai
Community Advisor
Community Advisor
November 15, 2022

Hi @akadi-79,

I would urge to post your question here under Adobe LiveCycle [0] to get better & faster response.

[0]: https://experienceleaguecommunities.adobe.com/t5/adobe-livecycle/ct-p/adobe-livecycle-community

Regards,

Santosh

Santosh Sai
Akadi-79Author
November 16, 2022

Hi @santoshsai ,

Unfortunately i did not see , where i can add a new post in the link you provided.

 

Regards,

Akadi