April 22, 200917 yr First Name: Last Name: Address: Phone Number: Email Address: Pizza Size:101215 Payment Method:VisaAmerican ExpressMaster CardCash Choose your toppings:AnchoviesDouble CheesePepperoniMushrooms SubTotal: PST: GST: Total:
April 22, 200917 yr One way to do it would be to remove the submit button, and replace it with a standard button which instead of submitting the form calls a function when clicked, the function can then calculate the total, enter the results into the total fields, and then submit the form. Or you could have a function that is called every time the user changes any selections which updates the totals live. I don't have time to write anything right now as I'm off to bed, so if nobody else has done it by tomorrow I will probably take a look. [Assist-X]
April 23, 200917 yr First Name: Last Name: Address: Phone Number: Email Address: Pizza Size:101215 Payment Method:VisaAmerican ExpressMaster CardCash Choose your toppings:AnchoviesDouble CheesePepperoniMushrooms SubTotal: PST: GST: Total: My Blog - Fishing 82/99
Create an account or sign in to comment