Click to See Complete Forum and Search --> : Need to have CGI add totals to online ordering...


Helenapc
12-13-2003, 01:43 AM
I am building (1) my company website, (2) anothers business website and I am having a problem trying to figure out how I can get the CGI to automatically add the total of the items they want to order....
here is the link to my company's form so you can see what I am trying to do...
I would like to also get a Java Script that will you can click and get a subtotal before you hit order...

ANY HELP?
My Current Form (http://www.helenapc.com/prod01.htm)

furious70
12-16-2003, 04:41 PM
you'd need to keep the price of the upgrades in hidden fields, or in javascript variables, then check to see which radio button was selected, and if the selection costs the user. Keep a running total and use an input box or a <span> tag to display it.

Helenapc
12-16-2003, 11:51 PM
OK I was wondering if you could help me with the scripting on that. I am faily new to CGI and I don't know jack about Java