jmorse00
03-13-2002, 02:58 PM
I want to creat a form that has the usual:
An item , quanitiy, price each, subtotal
etc
etc.
then i want the complete :subtotal of all items
: Sales tax (for CA only)
: S&H
: complete total of all
Now to my question.
Is it possible to insert javascript into the form that will:
1). as soon as you input quanity and price..for it to calculate the subtotal..
2). as it does above..calculate sales tax and put it in the sales tax box...calculate S&H for subtotal of all and put that price in the S&H box
then calculate the complete total.
but then when hit the submit button. it submits like a form to a webaddress that collects forms...not email!
and also..if possilbe a seperate box that will calculate same as above..just minus the sales tax.
is any of this possible?
thanks,
James
An item , quanitiy, price each, subtotal
etc
etc.
then i want the complete :subtotal of all items
: Sales tax (for CA only)
: S&H
: complete total of all
Now to my question.
Is it possible to insert javascript into the form that will:
1). as soon as you input quanity and price..for it to calculate the subtotal..
2). as it does above..calculate sales tax and put it in the sales tax box...calculate S&H for subtotal of all and put that price in the S&H box
then calculate the complete total.
but then when hit the submit button. it submits like a form to a webaddress that collects forms...not email!
and also..if possilbe a seperate box that will calculate same as above..just minus the sales tax.
is any of this possible?
thanks,
James