Sign in:
Username:
Password:  
»Forgot your password?

Home | Forum | How to Protect Your Web Form | How to Protect Your Email | Sign Up

Insure yourself from spam! The Anti Spam Insurance Company - ProtectWebForm!

Forum - ASP.NET Modification

PostMessage
hewsy10
2009-04-16 03:27:56
Hi,

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."

End If

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??

Jimmy.






Post Reply:

You must be logged in to reply.
Post message
Name: 
Email: 
Url: 




Registered users: 88191

Forms protected: 48551

Further Reading & Anti Spam Resources:

Directory


    ©Copyright 2006 ProtectWebForm.com. All rights reserved. Read our Privacy Policy

Page copy protected against web site content infringement by Copyscape