Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Live Calculations

Status
Not open for further replies.

elpanther

Programmer
Jun 28, 2004
4
US
OK I have a doozie(sp). I am not sure if it can be done in CF or not. But I'm gonna try. Here goes:

I have a row of data. In the first cell I have a textbox where you can change a number.
In the second cell I have a formula, say "x 10".
In the third cell I have the result.
Here is the hard part.
What I need to do is when the user makes a change to the textbox the value in the third cell changes automatically. The issue is that it needs to change immediately without submiting to a DB or back to itself becuase there are multiple rows with the same function.
Any Ideas?

 
See my reply in the MM forum. Basically, use Javascript to do the calc.

Phil Hegedusich
Senior Web Developer
IIMAK
-----------
A priest, a lawyer, and a rabbi walk into a bar. The bartender looks up and says "What is this, a joke?
 
I have searched the site and can't find your reply you mention in this post. Can you be more specific than the "MM" forum? I need this same information.

Thanks,

Shey
 
just ask the JS forum. here is the link. forum216 it is very simple to do but this being a CF forum, and that being a js question, i'm not going to get into the details, sorry.

Human beings, who are almost unique in having the ability to learn from the experience of others, are also remarkable for their apparent disinclination to do so.
-Douglas Adams (1952-2001)
 
Sorry for the confusion, stobeck. The Search function on the Macromedia (MM) ColdFusion Forum ( is what I was referring to. elpanther made his original post there. I found the post by entering his handle in the Author field of the search form there.

HTH,

Phil Hegedusich
Senior Web Developer
IIMAK
-----------
In one hundred years, none of this will matter. Keep a healthy perspective!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top