What is a Calculated Property?
Understand how to use Calculated Properties in your Screens.
Use Calculated Properties to add more context to your Screen display. A Request should never trust any data that originates from the client side, and trusted calculations should always be performed within a Request in a Script Task element.
Calculated Properties have the following attributes:
- Calculated Properties can only be used within and only affect the Screen to which the Calculated Property is added.
- Calculated Properties are generated values that cannot be edited after calculation.
- The name of a Calculated Property is case sensitive. For example,
NetCostare two distinct names for Calculated Properties.
- Perform simple mathematics. Example:
- Calculate the final cost of a purchase based on a sales tax. Example: $
60(item cost) x
- Calculate the minimum credit card payment. Example: $
1000(amount owed) x
Reference the Screen control values for a Property using their Variable Name setting values. For example, to determine the cost for a number of items in a Screen for a purchase request form that uses a Line Input control with a Variable Name setting of
unitsto indicate how many items to purchase, and
priceis the amount per unit, use the following calculation in a Property:
units * price
Last modified 3mo ago