[thelist] Possible Bug Form Validation ASP
Rob Smith
rob.smith at THERMON.com
Wed Feb 23 11:04:14 CST 2005
...or it could just be out of ignorance.
I like to have form one page to do the form and form processing in ASP.
add.asp
<%
if not request.querysting("submit") = "" then
'do form validation
if everything checks out ok then
response.redirect "someinsertpage.asp"
end if
end if
%>
<html>
<form method="get" action="add.asp"></form>
</html>
BUT!!! When method goes to "post", internal form validation doesn't work. if
not request.form("submit") = "" then NEVER catches and NEVER gets redirect
to the insert page.
Why?
Rob Smith
More information about the thelist
mailing list