How to calculate extended price

  • Thread starter Thread starter Jane Here
  • Start date Start date
J

Jane Here

I want to create a shopping page that will only be ever one page long.

When a user enters a quantity, I want the totals on the page to be updated.
Can this be done in FP2003? Or is there a script that exists somewhere that
does this?


This is something like what I am after:-


Buy your products from this page. Enter the quantity of each that you
require, your details and then click Submit.


Book title A $ 50 each. Quantity required: ____ Extended price: _____
Book title B $ 80 each. Quantity required: ____ Extended price: _____

Freight: (fixed price for any quantity ordered):
$ 10.00

Tax: 10%
______
Total:
______


SUBMIT
 
You can write a JavaScript to do this. Use the onChange property of the
formfields to determine when to run the calculate function.

Regards Jens Peter Karlsen. Microsoft MVP - Frontpage.
 
Back
Top