Hi Bob, A few points: - The form submission was likely posted without JavaScript - There is no point confronting a robot with the reality of it’s existence
Look into writing a filter on your email inbox or server that can eliminate such messages without your intervention. Don’t give up :) Ollie -- @ollicle On 22 August 2012 21:07, coder <co...@gwelanmor-internet.co.uk> wrote: > I have recently attempted to 'trap' spammers who use autofilling tactics on > the site at www.gwelanmor-internet.co.uk. This is written in html5 and uses > a mixture of simple tests to validate the form. However, yesterday I recvd > a mail thus: > > ________________________________ > > name > > igmgrtasel > > email > > hidden > > -9 > > comments > > CaWePF <a href="http://ipdszgwutyvp.com/">ipdszgwutyvp</a>, > [url=http://fkpbtvpaxitv.com/]fkpbtvpaxitv[/url], > [link=http://rtcdalwdjrkb.com/]rtcdalwdjrkb[/link], http://xsejahukjzdr.com/ > > send > > send message . > > ________________________________ > > The script I used to validate the form is this: > > > <script type="text/javascript"> > function validateForm() > { > var x=document.forms["contact"]["email"].value; > var atpos=x.indexOf("@"); > var dotpos=x.lastIndexOf("."); > if (atpos<1 || dotpos<atpos+2 || dotpos+2>=x.length) > { > alert("This is Not a valid e-mail address"); > return false; > } > // > var y=document.forms["contact"]["hidden"].value; > if (y==null || y=="") > { > return true;} > else > { > alert("I think you are a machine") > return false; > } > > } > <!--// --> > function check(node) > { > var re = new RegExp('[<>\[\\]]', 'g'); > document.getElementById('send').disabled = re.test(node.value); > } > </script> > > and it works locally and online. However the mail I quote from above is > completely unaffected. Does this mean I give up trying, or what? ******************************************************************* List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org *******************************************************************