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

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion MX7 and Flex 2 
Build sales & marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:272856
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to