Insure yourself from spam! The Anti Spam Insurance Company - ProtectWebForm!
Forum - ASP.NET Modification
Firstly, a great little service you have here and truly helpful to
people like myself.
Ok. I have installed on my website on a simple contact form. It works
fine but I don't like the way the code Response.Write's to a new page
so I'm trying to have the verification messages appear as text on the
same page as the form. My first idea was simply to use a asp:Label to
display the messages when there has been an error on the users part.
Something like this:
If resultString.Contains("<verification result=""no""/>") Then
lblMsg.Text = "The text you entered does not match the image."
Then in the HTML:
<asp:Label ID="lblMsg" runat="server"></asp:Label>
It's not throwing any exceptions but it doesn't give me an error if I
enter the wrong image code / no image code at all.
Can anyone help me with this??
You must be logged in to reply.
Registered users: 20270
Forms protected: 48458
Further Reading & Anti Spam Resources: