title: Is there a way to alter the form action attribute with CSS only, or is there an alternative to JavaScript and server-side script?
body: <p>First of all, I don’t have access to the forms mark-up or server-side script due to being on a proprietary system. I did remove attributes with jQuery , and allow for my user action to replace this data along with replacing the Submit button. The problem is, a bot/spider/crawler (the reason I am doing this) can go to my site with JavaScript disabled and bypass this filter. So I am looking for an alternative way to “break” the form until they confirm they are human. The captcha seems to be useless.</p>
  
  <p>I would show the jQuery and plug-in, but it might be irrelevant as I am looking for a JavaScript alternative and server-side script alternative. If I can remove the data with an alternative, I can easily replace with the jQuery, as it is functional and not the issue.</p>
  
  <p>This is the basic of what is being removed/replaced....</p>
  
  <pre><code>$('form.ProductReviewForm').attr('action', '')
      .attr('method', '');
  </code></pre>
  
  <p>then replacing them after the slide feature.</p>
  
  <p><strong>UPDATE:</strong> I was able to get zero bot posts today with the use of....</p>
  
  <pre><code>(function($){
  $('form.ProductReviewForm').attr('action', '')
      .attr('method', '');
  $(document).bind( "mousemove keypress", function () {
      $('form.ProductReviewForm').attr('action', 'http://www.diabeteshealthsupplies.com/postreview.php')
          .attr('method', 'post');
  });
  })(jQuery);
  </code></pre>
  
  <p>As you can see, we are only fixing the attributes with mousemove or keypress. Something the user will have to do, but not the bots.</p>