The form example below demonstrates how to use a combination of the #calc
field and #section_row_count
variables to perform calculations on the number of rows in a repeatable section. A more advanced example using an #if ... #endif
statement is also shown to demonstrate how you can adjust calculation inputs based upon the total number of rows in a repeatable section. You can learn more about these variables here: