Nekyia Posted April 22, 2009 Share Posted April 22, 2009 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: Link to comment Share on other sites More sharing options...
ClareJonsson Posted April 22, 2009 Share Posted April 22, 2009 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] Link to comment Share on other sites More sharing options...
vesuvius27 Posted April 23, 2009 Share Posted April 23, 2009 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 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now