mbiro
Programmer
- Nov 20, 2001
- 304
I have a simple form that has a quantity, unit price, item total. The form calculates the item total by multiplying quantity and unit price. There is also a subtotal field that adds all the item totals together. There is a shipping field that multiplies the subtotal by .05. Finally, there is a total price field that adds the subtotal and the shipping together.
The problem is that the form seems to calculate the total price BEFORE it calculates the shipping. Therefore, the total price is wrong.
I am obviously doing something really stupid, but I can't see it. Suggestions?
The problem is that the form seems to calculate the total price BEFORE it calculates the shipping. Therefore, the total price is wrong.
I am obviously doing something really stupid, but I can't see it. Suggestions?