House of Fusion
Search over 2,500 ColdFusion resources here
  
Home of the ColdFusion Community

Mailing Lists
Home / Groups / Javascript

Calculations within a form

Author:
Torrent Girl
12/16/2008 11:43 AM

Toby did you ever figure this out? > I have a client that has requested that they display an order form on > their > website. > > Basically they want the form to look like the following: > > Product Name    Price     QTY       Total > Product 1        3.00      2         6.00 > Product 2        5.00      1         5.00 > Product 3        6.00      3        18.00 > > Total                               29.00 > > Developing the form is easy - just wanting to know what the best way > would be to > do the calculations in the form prior to the user submitting the form. > > > Thanks in advance > > > I guess what I really need is a small bit of Javascript to do the > calculation when the quantity is changed - so that the thotal for each > line item changes and also the total changes. > > Thanks in advance.


Search javascript

February 12, 2012

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
       1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29