Typically, I do not try to handle any javascript methods against cfform. I am a fan of flash forms so actionscript 2.0 is the script of choice for binding and calling flash remoting objects.
If I have a javascript heavy form, I typically use a traditional html form and use a standardized javascript library for DOM conversion. Teddy On 11/2/06, Richard White <[EMAIL PROTECTED]> wrote: > > Hi, i have a cfform with 2 buttons: 'Move to next step' & 'Move to > previous step' > > Irregardless of what button is clicked i need to do some tasks before the > form is submitted when the button is clicked > > I tried to make the buttons type button instead of submit and then do an > onclick event. I then used the javascript document.forms.submit() after > processing the tasks i needed to do. > > However the problem with this is that the action page doesnt receieve any > information relating to the button that was pressed > > is there a way that i can get round this or does any one have any advice > > thanks > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:258877 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4