Expression

The expression can be used for computations like Addition, Subtraction, Multiplication or Division of 2 or more number fields in the form.

Once the number control is defined in the form. You can configure the Expression Control.

You have to go through a two-step form wizard to enable this Control, i.e., Design & Advance. Let’s explain these steps below:

1st Step – Design

This is the first step of the “Expression” control form wizard. Here you are required to fill in the following details:

  1. Database Field Name (mandatory): These are the attributes of the form
  2. Label Name (mandatory)
  3. Placeholder
  4. Select Format Type: Select format type from the following H1, H2, H3, H4, H5, H6, P, Bold
  5. Column Width
  6. Default Value: As the name suggests, it defines a default value for a field. This default value can be changed by user input.

2nd Step – Advance

  1. Design
    1. Custom Class
    2. Bootstrap Column Class
  2. Others
    1. Is Date Difference?: This control can be used to find the Duration between Dates if there are 2 date fields like Start Date and End Date in the form
      1. Date Difference Type: Select from the following Day, Week, Month or Year
    2. Hidden Control?: Select “Yes” if you want the field to be invisible from UI but want the value to be submitted with the request
    3. Is use in Grid?: If field is used in Grid
      1. Column Text Align: Select from the following Left, Center or Right
      2. Is Bold Header
    4. Decimal Places

Click “Confirm” and “Expression” control is configured.