Showing posts with label Validation. Show all posts
Showing posts with label Validation. Show all posts

Thursday, April 5, 2007

Email validation

DIM strEmailstrEmail = Request.Form("Email")
IF strEmail <> "" AND strSubject <> "" AND strComments <> "" THEN
' your code if the format is right
'Process the form as you like here

ELSE
Response.Write "wrong email foemat, go back and correnct... (your message): "
end if