Skip to main content

Hi everyone,

I’m building a FormAssembly form where users can enter multiple levels, each with an amount field inside a repeatable section.

I want to calculate the total amount by summing all of those amounts from each repeated entry.

I followed the usual process:

  • Created a repeatable Fieldset with a currency field named Amount
  • Marked the Amount field as a variable
  • Added a hidden subtotal field inside the repeatable section (Line Total)
  • Added a calculation field outside the repeatable section using @SUM(Line Total)

But the total field still throws an error or doesn’t calculate. 

 

Below is Attachment: 

 

calculate total amount from repeatable Amount field in formassembly

 

 

 

1 respuesta
  1. 23 oct 2025, 02:57

    It may be too late for this response, but this article helped me:  

     

    https://www.formassembly.com/blog/tutorial-how-to-use-calculations-and-repeating-sections-in-web-forms/#:~:text=First%2C%20you'll%20need%20to,directly%20in%20the%20form%20builder

     

    The subtotal field should be a variable too. In the Total Amount field you will add the name of this variable (subtotal) in the calculated field section. No formula required, just the name of the subtotal variable. 

0/9000