 |
F.2.5- Common Errors in the Use of Forms
by NT Community Manager.
Last Updated
by Joel Bush.
|
|
|
Common Errors in the Use of Forms
- Wrong name or
extension for the response page
- Wrong path for the
response page
- ACTION specifies a
response page that doesn't exist
- Forgetting to include
a submit button (or some form of submit method)
- Leaving out the </FORM> closing
tag
- Writing the wrong
code on the wrong page: the first page must have the Form and the response page
picks up the user's data and works with it
- Using POST and looking for
data in Request.QueryString (POST
data goes into the Forms collection)
- Using GET and look for the
data in the Request.Form collection (GET data goes into the QueryString
collections)
- Directing the visitor
to the response page prior to the form page
- Leaving the .asp extension off of
the response page
- Including some
server-side scripting in the form page (for features outside the form) and not
adding the .asp extension
- Using an include in
the form which has script but the form itself lacks the .asp ending
|