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:
-
Database Field Name (mandatory): These are the attributes of the
form
- Label Name (mandatory)
- Placeholder
-
Select Format Type: Select format type from the following H1,
H2, H3, H4, H5, H6, P, Bold
- Column Width
-
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
- Design
- Custom Class
- Bootstrap Column Class
- Others
-
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
-
Date Difference Type: Select from the following Day, Week,
Month or Year
-
Hidden Control?: Select “Yes” if you want the field to be
invisible from UI but want the value to be submitted with the
request
-
Is use in Grid?: If field is used in Grid
-
Column Text Align: Select from the following Left, Center
or Right
- Is Bold Header
- Decimal Places
Click “Confirm”
and “Expression” control is configured.