Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Start the Joget Server and open the App Center.

  2. Log in as admin and click on the pencil icon on the Expenses Claim to open the Design App. (see Figure 1)


    Figure 1

  3. Under FORMS column, click on Expense Claim Form (see Figure 2)


    Figure 2

  4. Hover the mouse over the Calculation Field labeled Total Amount $ on the canvas and click on it to open up the Edit Calculation Field properties.

  5. Take note of the Variables field.  The spECD value is referring to another field within the form (see Figure 3).


    Figure 3

  6. Click on the Grid element to open up the Edit Grid properties (see Figure 4).

    Image Modified
    Figure 4

  7. 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 Figure 6: spECD.amount



    Figure 5


    Figure 6
  8. Click on Preview and enter values into the Amount column in the Grid to see the Total Amount $ automatically adds the values.

...

NameDescription
Validator

Attach a Form Validator plugin to validate the input value.

Info
titleWhen will validation takes place?

Validation will takes place whenever form is submitted except when it is submitted as "Save as Draft".


Format

Image Modified

NameDescription
Formatting Style
  • US Style Formatting (1,000.00)
  • European Formatting (1.000,00)
Number of DecimalNumber of Decimal
PrefixPrefix of the calculated value
PostfixPostix of the calculated value
Use Thousand Separator?Thousand Separator toggle.
Store as Numeric Value?

Toggle to store as numeric value instead of a string

...