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

Maintaining Dual Tables (instances)

Avatar

Level 1

I have a form that has multiple pages, one being a calculator that shows every variable; the second, customer facing showing only pertinent information. I am having trouble sourcing the data on the customer facing table with reference to instanced rows.

I have come up with the following script which I was hoping would work, but didn't:

form1.OA_PG1.ProjectSavingsGROUP.Table1.RowItems.PRODUCTID::calculate - (JavaScript, client)

var vRow = this.parent.index + 1;

this.rawValue = xfa.resolveNode("OA_CALC.Table1.RowItems[" + vRow  + "]").PRODUCTID.rawValue;

This results in nothing. Please advise.

Thank you

1 Accepted Solution

Avatar

Correct answer by
Level 1

Only took me a couple hours..

View solution in original post

1 Reply

Avatar

Correct answer by
Level 1

Only took me a couple hours..