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 Coder
    Join Date
    Jan 2008
    Posts
    85
    Thanks
    25
    Thanked 0 Times in 0 Posts

    Auto Calculate Total when textfield Value is inserted

    Hi everyone,

    I'm trying to find a script that can do a calculation of two values and add them to get a total. An example for this would be the following:

    Item 1, Qty: 2, Value: 150
    Total: 300

    I want it to multiply the qty by the value.

    This is, more specifically, for an Invoice/Purchase Order form that is processed in a PHP page.

    I would greatly appreciate all of your support.

    Thanks.

  • #2
    SSJ
    SSJ is offline
    Regular Coder
    Join Date
    Mar 2007
    Posts
    230
    Thanks
    0
    Thanked 4 Times in 4 Posts
    That's very much simple. You can easily implement it with Javascript.


  •  

    Posting Permissions

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