I have an order form similar to the following:
*tb stands for textbox under each item
I would like to be able to have the user enter the total # of items and then
have it automatically calculate the Grand Total at the bottom.
Does anyone know of a way to do this using asp or have a link to a script?
item1 item2 item3 item4 item5 item6 item7
item8 TOTAL
----------------------------------------------------------------------------
--------------
TOTAL ITEMS: tb1 tb2 tb3 tb4 tb5 tb6 tb7 tb8
tb9
----------------------------------------------------------------------------
--------------
COST EACH $5.00 $6.00 $7.00 $8.00 $9.00 $3.00 $4.00
$5.00 $6.00
----------------------------------------------------------------------------
--------------
GRAND TOTAL: tb1 tb2 tb3 tb4 tb5 tb6 tb7 tb8
tb9
if you want ( and I assume you do ) the form to total before submittal you
will need to write a client-side script.
A good resource to check out is www.javascriptsource.com
hth,
Clint
-----------------------------------------
I would like to be able to have the user
enter the total # of items and then have
it automatically calculate the Grand Total
at the bottom.
------------------------------------------
_________________________________________________________________
Join the world?s largest e-mail service with MSN Hotmail.
http://www.hotmail.com