- Start the Joget Server and open the App Center.
- Log in as admin and click on the pencil icon on the Expenses Claim to open the Design App. (see Figure 1)
- Under FORMS column, click on Expense Claim Form (see Figure 2):
- Hover the mouse over the Calculation Field labeled Total Amount $ on the canvas and click on Edit to open up the Edit Calculation Field properties.
- Take note of the Variables field. The spECD value is referring to another field within the form (see Figure 3).
- Hover the mouse over the Grid element on the canvas above the Calculation Field and click on Edit to open up the Edit Grid properties (see Figure 4).
In Figure 5, we are summing at a specific column from a Form Grid. Form Grid ID: spECD Column in Form Grid: amount Field ID to be filled in: spECD.amount
- Click on Preview and enter values into the Amount column in the Grid to see the Total Amount $ automatically adds the values.
| Figure 1
Figure 2
Figure 3
Figure 4
Figure 5
|