Dynamic Form with Sum Calculation

Enter a number to generate input fields and calculate their sum

Enter number of inputs (n):
Please enter a valid positive integer

Calculation Result

The sum of all values is: 0

How to use this form:

  1. Enter a number (n) in the first form and click "Submit"
  2. The form will generate n input fields for you to enter values
  3. Fill in the values and click "Calculate Sum" to see the result
  4. Use the "Back" button to return to the first form