3
2
1

I've tried two methods:

  1. Using the "Total of..." script template.
  2. Adding a calculation script and trying the API functions

My calculation rule (script) was built by inserting an API method, then double clicking on the field dependency (inside the repeat), to build this code:

Util.sum(Form.data.repeat.percentInvested)

 

Neither method seems to function.

 

    CommentAdd your comment...

    3 answers

    1.  
      3
      2
      1

      The correct way to build this script is to:

      1. Add a calculation rule (script)
      2. Right click on the dependency, and select "Get sum of repeated data"

      This builds the following script:

      Util.sum(Util.getRepeatDataArray(Form.getItemFromPath('Form.data.repeat.percentInvested'))) 
    2.  
      1
      0
      -1

      Hi Tim,

      You need to Add Script in Total Value for all the Value which is in repeated Table 

        CommentAdd your comment...
      1.  
        1
        0
        -1

        Here's a screenshot of the relevant menu item.

         

          CommentAdd your comment...