CodeAve.com CodeAve.com - ASP - Server Variables
ASP
·Read/Write
·Script Writers
·Database Display
·Response Objects
·Server Variables
·Random Events
·Articles
·Miscellaneous
·Contents
·What's New?
JavaScript
CSS
HTML
Maps
Links
Mail List
Search
Sitemap


 


ASP Form Tester
The ASP Form Tester displays all form variables targeted to it. Any variables passed via form action set to get (This is including anything passed to the page in the url) or post will be displayed including the values being passed. When developing new HTML forms this is an excellent first page to target to be certain all the variables you need to include in your application are being passed properly.
View the Output
Text View
Print View
Mail this Link
Download the Code

<html>
<title>CodeAve.com(ASP Form Tester)</title>
<body bgcolor="#FFFFFF">


<% ' Check to see if any querystring varibles exist
if len (request.servervariables("query_string")) >1 then %>

<b>Variables passed via QueryString</b><br>
<!-- The following was passed via a form with a method equal to get, a hyperlink, or
a form action with written varibles -->
<%
'Loop to find each querystring variable name and varible value
for each variable_name in request.querystring
variable_value=request.querystring(variable_name)
'If there is a querystring variable name and value inputted then write it also
response.write variable_name &" = "
response.write variable_value &"<br>" &chr(13)
next ' end for next loop for all querystrings 
end if ' end check for querstring values

' Check to see if any form varibles exist
if len(request.form) > 0 then %>

<p>
<b>Variables passed via Post</b><br>
<!-- The following was passed via a form with a method equal to post -->
<% 'Loop to find each variable name and varible value
for each variable_name in request.form
variable_value=request.form(variable_name)
'If there is a variable name and value inputted then write it also
response.write variable_name &" = "
response.write variable_value &" <br>" &chr(13)
next ' end for next loop for all 
end if ' end check for form values
%>



</body>
</html>

 

 

 



ASP: What's New? | Articles | Script Writers | Database Display | Read/Write
Server Variables | Response Objects | Random Events | Miscellaneous
HTML: Forms | Hyperlinks | Headers | Tables | Hyperlinks | Headers | Text Display
JavaScript: Document Info | Forms | Images | Navigation | Script Writers
CSS: Basics | Page Display | Text Display | Script Writers | Miscellaneous
Maps: Map Script Writers | Bing Maps | Google Maps
Privacy Statement

CodeAve.com is hosted by MyHosting.com
Donate Food Online with a Mouse Click at TheHungerSite.com
Donate Land Online with a Mouse Click at TheRainForestSite.com
© 1999 - 2014 CodeAve.com
All Rights Reserved

  • Kids jordan 6 rings
  • Jordan retro 10
  • Jordan retro 3