ok say a user fills out the chart section of the form in this way (MA == Modern Age):
Code:
4 DC Wonder Woman 1 June 2001 MA 10
1 DC Wonder Woman 105 June 1958 Standard 125
want the very same calculation on the current script to be applied to the data above but in such a format
Modern Age Subtotals:
Number of books: 4
Service Cost: 40.00 (quantity*MA service cost)
Shipping: 14.90 (from the shipping calc on the existing script)
Insurance: 3.50 (value based on the insurance calc in the existing form)
Standard Service Subtotals:
Number of books: 1
Service charges: 14.00
Shipping: 7.40 (again using the existing shipping calc)
Insurance : 3.95 (again using the insurance calculation in the existing script)
Grand Totals:
number of books: 5
service charges: 54.00
shipping: 22.30
insurance: 7.45
Total: 83.75
so basically pulling out the data from the chart according to the service but and then applying the existing calculations on these groups of data so the user and the business have a breakdown of the charges as well as a grand total. it also allows the shipping and insurance charges to be calculated individually based on the service charges because based on the service there are different turnaround time and, therefore, potentially several different packages that will have to be sent back to the user.
i hope this clarifies what i need to do.