Here is a little server side script that works great..
Tim
'All error checking happens on this script, but if it's wrong, we redirect
'the user to a script called "formError.asp" and we pass along the error
'type by appending to the query string what the error was..
'
'
'-- Check for valid email address
UserMail = Trim(Request("email"

)
Loc = InStr(1, UserMail, "@"

'Location of "@"
If Mid(UserMail, Loc + 1, 1) = "." Then
'String can't have "." immediately following "@"
isMail = False
'Elseif InStr(1, UserMail, "@"

= False Then
isMail = False
'Elseif InStr(1, UserMail, "."

= False Then
isMail = False
'ElseIf InStr(1, Right(UserMail, 2), "."

> 0 Then
'String must have at least a two-character top-level domain.
isMail = False
'Elseif len(UserMail) < 7 Then
'The email can't be shorter than x@x.com which is 7 characters
isMail = False
Else
'Check to insure they inputed their name
If Trim(Request("name"

) = "" or isNull(trim(Request("name"

)) Then
isName = False
Else
End if
'Let's send them there if they messed up..
If isName = False Then
Response.Redirect "formError.asp?Name=False"
else
if isMail = False Then
Response.Redirect "formError.asp?Mail=False"
else