How would I create a form that calculates a total
Posted: Tue Nov 04, 2008 9:03 am
I'm planning out a project and can't seem to figure out the best way to go about it. I will have a form that will have several fields, some will be drop down menus and that form will allow someone to select various choices to build a particular package. That is the part I'm having trouble with. Once all of the selections have been made and the form is submitted, it will send a line by line price quote with a total at the end. It's easy to get the amounts or the info into that email, but how can I put them both? For example, lets use a rocketship as an example:
Engine
option 1 - Solid fuel ($1,000)
option 2 - Nuclear fuel ($5,000)
option 3 - Ion fuel ($10,000)
And then when the form is submitted, the line item for this would be something like:
Other item info and prices here
Engine: Nuclear fuel ($5,000)
Other item info and prices here
Total: $35,000
Hopefully my explaination makes sense.
Engine
option 1 - Solid fuel ($1,000)
option 2 - Nuclear fuel ($5,000)
option 3 - Ion fuel ($10,000)
And then when the form is submitted, the line item for this would be something like:
Other item info and prices here
Engine: Nuclear fuel ($5,000)
Other item info and prices here
Total: $35,000
Hopefully my explaination makes sense.