I am working on a form where I want the user to press a button to calculate the total after the series of fields have been entered.
So for example, there are five fields named Data.0, Data.1, Data.2, Data.3, Data.4
And a field named Total_Data and a button named Calculate_Sum. I don't want Total_Data to populate automatically as a running total. I want the user to enter values into the Data fields and then press Calculate_Sum at which point the script runs and the value appears in the Total_Data field.
In my actual form there are as many as 40 Data fields so obviously I don't want to write an entire script of