|
GolfMad -> RE: Client side form validation (Jcap) (7/12/2007 10:46:50)
|
Its a great idea and I use something similar on an aspx form BUT I still receive the odd spambot completed form. MVP's on the Microsoft EWD forum said that this could be bypassed by javascript being off. I haven't investigated the original CAPTCHA method but some spambots can definatley bypass a java script requirement by having it switched off. I just wish there was something foolproof and eay to use, here is my code below. At least a reduction is better than nothing. quote:
<span>Is ice hot or cold?<a href="#" class="hintanchor" onMouseover="showhint('This question is being asked to prevent automated Spam machines completing these forms.<br> Answering shows you are a real person.', this, event, '200px')">- why ask?</a></span><br /> <asp:TextBox runat="server" id="real" Width="106px"></asp:TextBox> <br /> <asp:RequiredFieldValidator runat="server" ErrorMessage="Completion required to beat Spam" id="RequiredFieldValidator3" Display="Dynamic" ControlToValidate="real"> </asp:RequiredFieldValidator> <asp:CompareValidator runat="server" ErrorMessage="Please read question above and answer" id="CompareValidator1" ValueToCompare="cold" Display="Dynamic" ControlToValidate="real"> </asp:CompareValidator>
|
|
|
|