Text Fields in Form- How Can I Make Them Add Up?

Discussion in 'HTML & Website Design' started by taracakes, Apr 15, 2010.

  1. #1
    Hi!

    I've created a form using html and asp that is an order form that is emailed.

    I am looking to insert formulas into the text areas of the form- similar to an excel sheet... Basically the form should look like this...

    Part Number Description Quantity Cost Amount
    74897389 First Item 4 $5 $20
    43274387 Second Item 2 $6 $12
    Total: $32

    So basically I need two types of formulas... One that will multiple the quantity and the cost- and put that number in the "amount" cell for that product. The other formula will add up the last row (all of the amounts) and put that final figure in a "total" field.

    Then once these fields are automatically filled in, and the user has completely the form, the Submit button will include these calculations in the email as well.

    I use 3dcart which does not support PHP.

    I've done a lot of searches for this, but I'm not finding the answer!

    Any help would be MUCH appreciated!!!
     
    taracakes, Apr 15, 2010 IP