Joget DX 8 Stable Released
The stable release for Joget DX 8 is now available, with a focus on UX and Governance.
Panel | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||
New feature added in Joget DX :
|
Table of Contents
Calculation Field allows you to perform a series of arithmetic computations to a set or a series of fields.
The Calculation Field is only available on Professional and Enterprise Edition.
The easiest way to see how the Advanced Grid works is to use the existing built-in App Expenses Claims and look at an existing form in the app.
...
Figure 1: Screenshot highlighting Calculation Field taken from sample HR Expenses Claim app
Screenshots taken from http://localhost:8080/jw/web/console/app/hr_expense/1/form/builder/hr_expense_claim
Figure 2: Calculation Field Properties
Here are the steps:
Steps | Screens (Click to view) |
---|---|
|
Figure 1
Figure 2
Figure 3
Figure 4
Figure 5 |
Name | Description | Screens (Click to view) |
---|
ID | Element ID (By declaring as "total", a corresponding database table column "c_total" will be created) | ||||||
Label | Element Label to be displayed to end user. | ||||||
Variables |
|
In the example above, we are summing at a specific column from a Form Grid.
Form Grid ID: entries
Column in Form Grid: formattedAmount
Field ID to be filled in: entries
|
| |||
Equation | Arithmetic operation using the variables declared above. |
...
...
Name | Description | Screens (Click to view) | |||||
---|---|---|---|---|---|---|---|
Validator | Attach a Form Validator plugin to validate the input value.
|
Name | Description | Screens (Click to view) | ||||
---|---|---|---|---|---|---|
Formatting Style |
| |||||
Number of Decimal | Number of Decimal | |||||
Prefix | Prefix of the calculated value | |||||
Postfix | Postix of the calculated value | |||||
Use Thousand Separator? | Thousand Separator toggle. | |||||
Store as Numeric Value? | Toggle to store as numeric value instead of a string
|
Name | Description | Screens (Click to view) |
---|---|---|
Hidden? | Shows this element to the end user. | |
Display as Label? | Displays the value of the element as plain text. |
...
Name | Description | Screens (Click to view) |
---|---|---|
Workflow Variable | If the form is part of a workflow process, upon saving of the form (by clicking on "Save as Draft" or " |
Save" button). The value in this input field will be saved into the corresponding workflow variable named here.
|