# ASP Form Collection
* * Complete Request Object Reference](#)
* * *
The Form collection is used to retrieve the values of form elements that use the POST method.
## Syntax
Request.Form(element)[(index)|.Count]
| Parameter | Description |
| --- | --- |
| element | Required. The name of the form element from which to retrieve the values. |
| index | Optional. Specifies one of multiple values for a parameter. From 1 to Request.Form(parameter).Count. |
* * *
## Examples
### Example 1
You can loop through all the values in a form request. Assume that a user filled out a form by specifying two values for the color element - Blue and Green - you could retrieve the values like this:
<% for i=1 to Request.Form("color").Count
Response.Write(Request.Form("color")(i) & "
")
next
%>
Output:
Blue
Green
### Example 2
Take a close look at this form:
First name:
Last name:
Your favorite color:
Blue
Green
Red
Yellow
Pink
Assume that the following request was sent:
firstname=John&lastname=Dove&color=Red
Now, we can use a script to access the information in the form:
Hi, .
Your favorite color is .
Output:
Hi, John. Your favorite color is Red.
If you do not specify which element to display:
Form data is:
The output will be:
Form data is: firstname=John&lastname=Dove&color=Red
* * Complete Request Object Reference](#)