How to calculate a total from an html form - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

How to calculate a total from an html form

I am very new to javascript but I am trying to calculate a total from information entered on a form. I need something like the following:
$173 per Association Member:
None $0.00
One $173.00
Two $256.00



$125 per Guest:
None $0.00
One $125.00
Two $250.00
Three $375.00
Four $500.00

$

I need to be able to determine the values selected on each line a calculate the total so I can insert it into my database. I haven't found any way to go this. Any help would be appreciated

Comments

Sign In or Register to comment.