How to calculate total hours based on hours worked in a specific role in Acrobat form
I have three field types I need to do a calculation on. I have 18 possible entries on a form that is basically a timesheet. User enters hours worked and chooses the service they performed from a drop-down. At the bottom of the form, there is a text box to display the total hours worked for that activity. There are 9 of these boxes, one for each service category. What I want to do is have the form calculate these totals. For example, John Smith did 4 hours on day 1 of the month doing Community Service. On Day 10 he also did Community Service. That would be two of the 18 services performed rows. There arw 18 rows that contain the Hours served and the type of service. This total would need to be added to the Community Service total box. There remain 16 rows that could be any of the other 8 service types.
To sum it up, I want to be able to have the one service type add up the total hours from the total hours fields in the two rows that are Community Service in this example. Keeping in mind this will need to be done for each service type that may appear in the form. We also have no way of knowing ahead of time what order entries will be made, as they take place on different dates.
