Chappers Posted July 3, 2007 Share Posted July 3, 2007 Hi, I remember using a form that was apparently coded in HTML and displayed in Word, or something. It had a few boxes where one could enter numeric values, and, on the fly, would add the values up and display the result at the end in a box marked 'total'. I'd like to do the same thing so I can keep track of finances with an outgoing and incoming section, where the cash amounts I input get added together automatically and a total box displays the result on the fly. I'd appreciate even just a hint, because I'm not sure what to even Google to educate myself. Thanks, James Link to comment https://forums.phpfreaks.com/topic/58244-form-where-inputted-values-self-add-and-new-total-shows/ Share on other sites More sharing options...
RichardRotterdam Posted July 3, 2007 Share Posted July 3, 2007 with plain html you won't accomplish much you will need javascript to do this Link to comment https://forums.phpfreaks.com/topic/58244-form-where-inputted-values-self-add-and-new-total-shows/#findComment-288831 Share on other sites More sharing options...
Chappers Posted July 3, 2007 Author Share Posted July 3, 2007 Ah, right. Any advice you can offer, or a link where I can learn to do it myself? Link to comment https://forums.phpfreaks.com/topic/58244-form-where-inputted-values-self-add-and-new-total-shows/#findComment-289003 Share on other sites More sharing options...
Muzz Posted July 3, 2007 Share Posted July 3, 2007 Maybe something like this: http://www.shiningstar.net/articles/articles/javascript/checkNumeric.asp?ID=AW Link to comment https://forums.phpfreaks.com/topic/58244-form-where-inputted-values-self-add-and-new-total-shows/#findComment-289221 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.