[thelist] Possible Bug Form Validation ASP

Jay Blanchard jay.blanchard at niicommunications.com
Wed Feb 23 12:03:56 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. 

  if not request.querysting("submit") = "" then
    'do form validation
    if everything checks out ok then	
      response.redirect "someinsertpage.asp"
    end if
  end if
<form method="get" action="add.asp"></form>

BUT!!! When method goes to "post", internal form validation doesn't
work. if
not request.form("submit") = "" then NEVER catches and NEVER gets
to the insert page.

What is the value of request.form when you do it via the POST method?

More information about the thelist mailing list