Repeating Blocks Calculation Rule

   MaestroPreviously known as Transact Maestro.  |   Form Builder |  v5.1 & Higher This feature is related to v5.1 and higher.

Use a calculation rule for repeating components to perform some summing up actions. For example, you may ask a form user to enter prices of all items they purchased at a supermarket and then display the total sum of the purchase.

To create a repeating calculation rule for a Maestro form, follow these steps:

  1. Open a Maestro form.
  2. Click the Properties tab.
  3. Select the component outside of the repeating block.
  4. Click Create Rule.
  5. Select Script under Calculation.
  6. Expand the repeating block template as Repeating Block Template > Content > Repeated Content.
  7. Right-click the component you want to sum.
  8. Select Get sum of repeated data as shown below.
  9. The following script is added to the window, which sums the component within each repeating instance.

  10. Click Save.
  11. Click Build and Render Form to see how this rule is displayed when the form is built and rendered.