This form uses custom javascript to total both rows and columns. Rows 1-3 and 4-6 are separate zones, as are the 2020 and 2021 columns. This script uses one event handler and several loops.
Uses an OnChange Event, then totals up the column totals for rows 1-3 and 4-6 separately, then another loop afterward totals up the months by row, and then adds the 2021 value as needed to the 2020 total.
The javascript is included in the form template.
NOTE: The javascript used in this template is provided as an example and is not supported by Integrify. Please see our Javascript Reference page for more information.