you can call the method right from the form. <form action="myCFC.cfc?method=myMethodName" ... >
On 10/17/07, erik tom <[EMAIL PROTECTED]> wrote: > >sorry, to call it you'd also pass in the (optional) schoolcode argument. > > > ><cfoutput>#myFunction(myform=form,schoolcode='foo')#</cfoutput> :) > > > >-- > >Charlie Griefer > > > >================================================ > >"...All the world shall be your enemy, Prince with a Thousand Enemies, > >and whenever they catch you, they will kill you. But first they must catch > >you, digger, listener, runner, prince with a swift warning. > >Be cunning and full of tricks and your people shall never be destroyed." > What if the form need to take multiple action how can i change the form tag > so it executes the right function method > <form action="insertcategory.cfm" method="post" tmt:ajaxform="true" > tmt:ajaxformcallback="dsRefresh" name="category" > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| ColdFusion is delivering applications solutions at at top companies around the world in government. Find out how and where now http://www.adobe.com/cfusion/showcase/index.cfm?event=finder&productID=1522&loc=en_us Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:291365 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

