Perhaps you can adapt the CF Akismet implementation. http://devnulled.com/cfakismet
On 3/16/07, Peter Boughton <[EMAIL PROTECTED]> wrote: > > It'll work in a sense of being able to set the action with JS is entirely > possible. > > It wont work in the sense of being inaccessible (anyone without JS cannot > use the site). > > It also wont work for any spam bots that can run JS (eg: any that use a > browser to render their content.) > > > >I got to thinking about the DOM and started wondering if providing the > >form's action value programmatically with JavaScript would protect > >against Spam bots trying to submit trash to the action page. > > > >Something like this: > ><script type="text/javascript"> > >document.forms.myform.action = "http://mydomain.com/someactionpage.cfm"; > ></script> > > > >What do you think? I'm sure it has been tried, right? Does it work? > > > >-Aaron > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Macromedia ColdFusion MX7 Upgrade to MX7 & experience time-saving features, more productivity. http://www.adobe.com/products/coldfusion?sdid=RVJW Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:272857 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

