- ASP - Miscellaneous
·Script Writers
·Database Display
·Response Objects
·Server Variables
·Random Events
·What's New?
Mail List


Each Request.Form
As applications and databases grow and become more complex the more likely you are to be passing large amounts of data via a form or querystring.  This does not necessarily mean that the opening of your asp documents will begin with screen-fulls of variable assignments.  A simple for next loop can import all of you data being passed from one asp to another.   The following example will create ten sequential "hidden" input fields and a submit button.  When entered all of the fields will be imported via the request form created in the for next loop and displayed to the browser. (On the first iteration it will also display some environmental variables too.)
View the Output
Text View
Print View
Mail this Link
Download the Code

<title> Next Loop - Each Request.Form)</title>
<body bgcolor="#FFFFFF">
'Loop to find each variable name and varible value
for each variable_name in request.form
'If there is a variable name and value inputted then write it also
response.write variable_name &" "
response.write variable_value &"<br>"

<form action="<%= request.servervariables("script_name") %>" method="post">
'This for next loop will write 10 "hidden" input fields that
'will be retreived and dispalyed on submit 
for counter=1 to 10 %>

<input type="hidden" name="input_<%= counter %>" value="value_<%= counter %>">
<% next %>
<input type="submit" value="Submit">




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
  • 2014 michael kors
  • air max women 2013
  • 2014 michael kors
  • air max 2014
  • oakley glasses
  • oakley glasses

  • Maps: Map Script Writers | Bing Maps | Google Maps
  • bottes fr
  • ugg boot
  • Privacy Statement is hosted by
    Donate Food Online with a Mouse Click at
    Donate Land Online with a Mouse Click at
    © 1999 - 2018
    All Rights Reserved

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