M
menelty
Can anyone help me?
I am doing a simple form for email and I want to validate it?
All the tutorials say I should use the following
<%
If request.form("name")="" or request.form("email")="" then
response.redirect "form.asp"
response.end
End if
%>
trouble is the server runs this code before the page loads and so the
page simply hangs and never loads as it always tries to redirect due to
the form elements initially being blank.
I could cheat and put in <yourname> in the name column but I cant
select a default value for my radio buttons.
thanks in advance,
menelty.
I am doing a simple form for email and I want to validate it?
All the tutorials say I should use the following
<%
If request.form("name")="" or request.form("email")="" then
response.redirect "form.asp"
response.end
End if
%>
trouble is the server runs this code before the page loads and so the
page simply hangs and never loads as it always tries to redirect due to
the form elements initially being blank.
I could cheat and put in <yourname> in the name column but I cant
select a default value for my radio buttons.
thanks in advance,
menelty.