Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Need help with formula: Calculating subtotals in offers (using Adobe Livecycle Designer)

Avatar

Level 2

Hi community,

I'm just trying to create a xdp template for a customer. I am a total beginner when it comes to Adobe. Everything works fine except the subtotal field. It would be great if you could help me out with the right formula. Here's what I got so far...

Table design:

1996531-tabelle.jpg

"Euro" field (DecBetragNetto): visible, decimal field, read only, binding works
"Dezimalfeld" field (subtotal field named "Sum"): visible, decimal field, calculated - read only, no data binding

Page structure:

1996532-struktur.jpg


Output:

1996533-ausgabe.jpg

 

This is just an example output screenshot which calculates the sum of line 1.* I thought that my problem could be solved using Sum(xfa.resolveNode("FormQuoteNotification.bdyPage1.SubFrmTble.Table1.Row1[*].DecBetragNetto[*]")) but the output field stays empty.

Please help.

 

*Formula: Sum(xfa.resolveNode("FormQuoteNotification.bdyPage1.SubFrmTble.Table1.Row1.DecBetragNetto"))

1 Accepted Solution

Avatar

Correct answer by
Level 2

Hi @Asutosh_Jena_ ,

 

oh thank you. I'll post it there.

 

Have a nice week and thanks for the advise.

View solution in original post

2 Replies

Avatar

Community Advisor

Hi @Strelli 

 

This community is only for queries related to Adobe Experience Manager. For better response related to Adobe Livecycle Designer please post the queries here:

https://community.adobe.com/

https://community.adobe.com/t5/acrobat/ct-p/ct-acrobat?page=1&sort=latest_replies&filter=all&tabid=d...

Thanks!

Avatar

Correct answer by
Level 2

Hi @Asutosh_Jena_ ,

 

oh thank you. I'll post it there.

 

Have a nice week and thanks for the advise.