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 4 of 4
  1. #1
    New to the CF scene
    Join Date
    Dec 2009
    Posts
    8
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Adding sums down a column?

    I'm making a sevice request page for a project in my high school web design class, and I was wondering if there would be a way for me to make the form work in such a way that, after the viewer selects all the different settings and features they want, sums associated with these features could be added up to make a total at the bottom. I asked my teacher, but he doesn't know, and couldn't find an aswer on Google Is this possible with html and css, or would I have to do something fancier?

    I'm not sure what information you may need about my page and the like, so if there is something that you need, just let me know in a reply and I'll put it up.

    Thanks in advance.

  • #2
    Master Coder Excavator's Avatar
    Join Date
    Dec 2006
    Location
    Alaska
    Posts
    9,748
    Thanks
    22
    Thanked 1,838 Times in 1,822 Posts
    Hello FlameKissed,
    Nothing in html or CSS will do that. SQL will though... have a look at http://www.w3schools.com/SQl/sql_func_sum.asp
    Validate often DURING development - Use it like a splelchecker | Debug during Development |Write it for FireFox, ignore IE
    Use the right DocType | Validate your markup | Validate your CSS | Why validating is good | Why tables are bad

  • Users who have thanked Excavator for this post:

    FlameKissed (12-08-2009)

  • #3
    New to the CF scene
    Join Date
    Dec 2009
    Posts
    8
    Thanks
    2
    Thanked 0 Times in 0 Posts
    Thanks again Excavator

  • #4
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,865
    Thanks
    160
    Thanked 2,224 Times in 2,211 Posts
    I think what OP required is a javascript based solution.
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)


  •  

    Tags for this Thread

    Posting Permissions

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