Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Oct 2010
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Adding a Sum "Total" on my form

    I have an order page all set up and working, but I would like to add a "Total" field that would add the price of all items in the form. How do I do this? The page is at "patsavonorders.com" if you need to see what I'm talking about.
    Ken

  • #2
    New to the CF scene
    Join Date
    Oct 2010
    Location
    Blanchard, Oklahoma
    Posts
    6
    Thanks
    2
    Thanked 1 Time in 1 Post
    Quote Originally Posted by qtband View Post
    I have an order page all set up and working, but I would like to add a "Total" field that would add the price of all items in the form. How do I do this? The page is at "patsavonorders.com" if you need to see what I'm talking about.
    Ken
    I'm not sure how to do that exactly, but I think that this would be done in Javascript. Like where it would multiply the price by the quantity on each of them to make lets say, TotalA, then it would do it again on the second price and quantity to make TotalB, then you would add TotalA and TotalB to get the total for those two. If that makes any sense, I tried to help.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •