I have been struggling with a problem for the past day and was hoping anyone 
could lead me into the right direction.



Example of problem:

I have one field where the user types in a the cost of Tool, Lets say "75".

Based on the cost of the tool "75", I have two other fields that needs update 
based on a calculation. I can figure out how to do this. Anyone have any ideas?



This what I have, however I can get it to work with a <span id> but I was the 
value to be passed into a <cfinput> field.



<tr>

   <td width="175" align="right">Tooling Cost:</td>

   <td>

      <cfinput type="text" style="background-color:##CCFF99" name="ToolCost"   
onChange="document.getElementById('display').innerHTML=this.form.ToolCost.value/1*this.form.test.value/1">

    </td>

     <td><cfinput type="hidden" name="test" value=".15"></td> </tr> <span 
id="display"></span>


Tony Ferraro



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:322238
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to