Re: Calculate Function on a form?

2000-07-03 Thread WBB
Send them to a 'Review' page that calculates every thing BEFIRE you submit the form as all CF is server side code. > 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

Re: Calculate Function on a form?

2000-07-03 Thread rkeniger
I have exactly this setup in a few sites - basically I have a form button that submits the form back to the same template with the form fields filled with the new calculated values. You can change the action of a form using javascript like this: onClick="document.formname.action='thispage.cfm?a

Calculate Function on a form?

2000-07-03 Thread Les Mizzell
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 J