[devtalk] ASP help

Portman mrport at roadrunner.com
Tue Oct 27 16:58:55 GMT 2009


I used the InStr function and that seems to work. Basically, it is this:

    strEmail = Request.Form("email")
    Dim MailTest
    MailTest = inStr(strEmail,"<")
    if MailTest <> 0 then
         Response.Redirect "../index.asp"
    end if

Thank you all for your help.

Riva

Robert Hoenig wrote:
> Possibly.  I would test for that.  We do all server side validations when
> submitting our data to the db so this is only checking for client side and
> displaying a message to them.


More information about the devtalk mailing list