Stupid question...

I've got a form that required a decent amount of calculations (figuring
insurance premiums) to be done before it is submitted.  Currently, I've
written a JavaScript function that runs when I hit a "Calculate" button on
the form.  However, this is driving me absolutely NUTS in JavaScript, as it
will calculate correctly except when one number is a multiple of ten or
something......among other things...

Is it possible in Cold Fusion to write a similar function that would run and
do the calculations so the user could see the result before submitting the
form?

[button] onsubmit="calcform" or something?

I know how to do it when I submit the form and get the results out the other
side, but haven't exactly figured out how to get anything to run within the
form....

Suggestions?


Thanks!

Les Mizzell
***********
Who needs Intel?
Athlon Inside!!!

------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to