View previous topic :: View next topic |
Author |
Message |
mlbailey
Joined: 23 Jul 2004 Posts: 2 Location: West Virginia, USA
|
Posted: Fri Jul 23, 2004 10:44 am Post subject: Add 'calculate' button for sum of defined fields |
|
|
I think there's already a way to do this, but I can't find the code anywhere. I want to add a 'calculate' button to my form, and have it add certain fields together, and place the total into a 'total' text box. Does anyone have the code for that? Or will it work with this type of form?
Thanks! _________________ Michelle Bailey
~Admit to nothing, and you cannot be held accountable for anything!
-Anonymous |
|
Back to top |
|
 |
mycontac Site Admin
Joined: 31 Dec 2003 Posts: 2860
|
Posted: Fri Jul 23, 2004 10:49 pm Post subject: Reply |
|
|
That sounds like a pretty good idea...there is nothing like that now but I'll see if I can incorporate it into the next set of updates for the tool...hopefully by August.
Thanks,
Nick Ladd
myContactForm.com |
|
Back to top |
|
 |
mlbailey
Joined: 23 Jul 2004 Posts: 2 Location: West Virginia, USA
|
Posted: Fri Jul 23, 2004 11:41 pm Post subject: Really? you're going to work on it? |
|
|
Oh Goodie!
I can hardly wait til the end of summer to see if you come up with the code! I set my form up to be an order form, and the user will be the one entering the line item totals manually. So I was wanting to add the 'calculate' button to have it add all of the line item total fields, and put the final value into an order_total text box.
I'm currently playing around with different scripts, in hopes of successfully modifying one into working. If I manage to get it, I'll sure let you know.
This is a great form! Loving it already! _________________ Michelle Bailey
~Admit to nothing, and you cannot be held accountable for anything!
-Anonymous |
|
Back to top |
|
 |
1scrollnet
Joined: 03 May 2006 Posts: 1
|
Posted: Wed May 03, 2006 5:43 am Post subject: |
|
|
hi mlbailey
this is the script but it calculate manualy not auto
http://www.javascriptkit.com/script/script2/charcount.shtml |
|
Back to top |
|
 |
|