Did you try this: <form action="/path/to/mycfc.cfc?method=myMethodName" action="post">
That should do exactly what you want, if I understand you correctly. Just make sure your method has access="remote" so that it can be called remotely. cheers, barneyb On Mon, 28 Feb 2005 16:33:12 -0500, Yexley Robert D Contr AFRL/PROE <[EMAIL PROTECTED]> wrote: > I'm looking for some good documentation or a code sample for how I would > execute a method in a CFC on form submit. So far I haven't been able to find > what I'm looking for. What I'm trying to do seems like it ought to be fairly > straight forward. I've got a method in a CFC that inserts a record into a > database, it has 11 parameters. I've got an HTML form (not a <cfform>) in a > ColdFusion template, and I'd like to set the method of this CFC to be the > "method" for the form. When the form is submitted, I want the values of the > fields on the form (there are 11 of them, corresponding to each of the > parameters of the CFC method) to get passed into the CFC method as > parameters, and then run the method. Can somebody point me to some > documentation, or give me a good code sample? I've looked in the CFML > Reference, and also "Developing ColdFusion MX Application with CFML" as well, > and haven't been able to find anything that covers this sort of scenario. > > ================ > // YEX // -- Barney Boisvert [EMAIL PROTECTED] 360.319.6145 http://www.barneyb.com/ Got Gmail? I have 50 invites. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:196873 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

