P
Paul M
Hi
I have this form validation script. if the username or password is not
entered it asks for it if it is entered I would like the form field
information to be passed onto action.asp
Thanks
Paul M
<%
DIM strUsername, strPassword
strUsername = Request.Form("user_name")
strPassword = Request.Form("pass_word")
IF strEmail <> "" AND strSubject <> "" THEN
' Process the form as you like here
' For example enter form to your database or send it via email
Response.Redirect("action.asp")
ELSE
Response.Write "<p>Please click back on your browser and complete the
following fields:</p>"
IF strUsername <> "" THEN
ELSE
Response.Write "<b>. User name</b><br>"
END IF
IF strPassword<> "" THEN
ELSE
Response.Write "<b>. Password</b><br>"
END IF
END IF
%>
I have this form validation script. if the username or password is not
entered it asks for it if it is entered I would like the form field
information to be passed onto action.asp
Thanks
Paul M
<%
DIM strUsername, strPassword
strUsername = Request.Form("user_name")
strPassword = Request.Form("pass_word")
IF strEmail <> "" AND strSubject <> "" THEN
' Process the form as you like here
' For example enter form to your database or send it via email
Response.Redirect("action.asp")
ELSE
Response.Write "<p>Please click back on your browser and complete the
following fields:</p>"
IF strUsername <> "" THEN
ELSE
Response.Write "<b>. User name</b><br>"
END IF
IF strPassword<> "" THEN
ELSE
Response.Write "<b>. Password</b><br>"
END IF
END IF
%>