calculating the numbers

Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.

  1. #1

    Default calculating the numbers

    Hi Guys, I can use your help here, how can I calculate the value entered by
    the user on the given fields of a form and at the end give me the total, you
    can see the form sample here. [url]http://www.designsmash.com/productform.cfm[/url]
    Thank you guys Titano Cruz

    simprini Guest

  2. Similar Questions and Discussions

    1. calculating costs.
      Hi all, I am doing experiments on a new operator I am writing as a C shared library function. 1) As part of the experimentation I need to know...
    2. Calculating age
      On 19-Aug-2003, "Andrew Banks" <banksy@blablablablueyonder.co.uk> wrote: from the php manual mktime: Returns the Unix timestamp corresponding to...
    3. Calculating
      Hello everyone... I am going to make a script where I can add and subtract an amount from the database... Lets say 'james' have '2000'. And I...
    4. Calculating Dates
      I have a creation date field. A Approx Time frame field. Then a Approx Finish Date field. I can get it to add the correct amount of days to...
    5. calculating datetime
      Hi, I have a datetime field in my table, i want to enter a datetime 1 day,1 hour and 10 mins into the future from today/the present, how do i...
  3. #2

    Default Re: calculating the numbers

    Hi Titano

    If you don't want the form to refresh you'll probably have to use JavaScript.
    Have a function what will get document.FormName.FieldName.value for all the
    fields and add them up and write that to the value of the total field.
    Invoke the JS function onChange of all the number fields and it should update
    the total automatically.

    HTH

    Zoe


    zoeski80 Guest

Posting Permissions

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

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 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139