Scheduled maintenance: This website will be offline from Friday 18/10/2024 9.30am EADT. For more information see Website Upgrade.

  Sign In   Register
x
Play video and select frame to capture or upload thumbnail
  Play   Capture Upload Own Image

All about repeating data

By Knowledge in Maestro 9th Jun, 2021

A typical requirement within a form is the ability to enter multiple instances, such as, with details of one or more persons. This is known as repeating data which may also be nested, such as, along with each person, a list of his/her assets is required to be entered. In this video, David uses the above scenario to display in Maestro: The position in the list - as in the index for each person entered. The number of items in a repeat - as in the number of persons entered. The related parent details in a repeat - as in the name of each person owning the list of assets being entered. The summed value - as in the total value of assets for each person. In this video, David shows in Maestro how: The form data object works and its structure. To access a repeats index, repeats parent data object and repeats array. That is, show the use of data,$i, data.$p and data.$r keys, respectively. To use the get repeat data method for summing a list of assets. That is, show how to use the API method for summing a person's listed asset values (Form.getRepeatData).


Tags
No tags available yet


0
0
0
0
0
0
Comments (0)
Unable to load tooltip content.

Ideas

Got a good idea for improvement?

Submit your Idea