No, but you can set a form value which will be posted to the action page of the form.
Adrian -----Original Message----- From: Knut Bewersdorff [mailto:[EMAIL PROTECTED] Sent: 03 September 2007 12:46 To: CF-Newbie Subject: Setting a CF-Variable in an "onClick"-Event Hi Folks, my problem: I have a submit button in a form, which calls the form itself. In the "onClick" event of the button I call a additional PopUp. With clicking the submit button I also want to change the value of an existing CF variable in the "onClick"-event of the button, before the form submits to itself. This variable changing shall be interpreted, when the page (form) is reloaded to show another button (instead of the first one) ! Is it possible to set a CF-Variable in a "onClick"-Event of a Submit-Button ? When yes, how to do it ??? Thanks for your help. Best regards Knut Bewersdorff ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Get involved in the latest ColdFusion discussions, product development sharing, and articles on the Adobe Labs wiki. http://labs/adobe.com/wiki/index.php/ColdFusion_8 Archive: http://www.houseoffusion.com/groups/CF-Newbie/message.cfm/messageid:3022 Subscription: http://www.houseoffusion.com/groups/CF-Newbie/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15
