>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" >
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Enterprise web applications, build robust, secure scalable apps today - Try it now ColdFusion Today ColdFusion 8 beta - Build next generation apps Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:291364 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4