To perform calculations, FormCalc needs to know what object to use in the calculation. In this step, we want to find out the total of all the data in the Amount column. If you select a cell in the Amount column, you can see the internal name in the Script Editor (if you resize the Script Editor to be larger).What you see in the internal name relates to what you see in the hierarchy. “PurchaseOrderForm” is at the top, followed by “PurchaseOrder”, and so on.All the rows in the table are named “Row1” followed by a default instance number. To be able to add the data in one column, all the rows have to be named the same.
1. In the Object Library palette, click the Standard category and then drag the Numeric Field object onto the form below the table under the Amount column.The wildcard character (*) tells LiveCycle Designer ES to collect all the data in the rows labeled Row1 and all the data in the Amount column.
8. In the Object palette, click the Binding tab and type total in the Name box.