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?action=calc';
document.formname.submit();"
You make the template check for the action=calc and then do the calculation and
populate the fields. Your other submit button is just a standard submit button.
--------
Rob Keniger
------------------------------------------------------------------------------
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.