Type Default Value Read Only Description
Long N/A Yes The number of unique field names in the form.

 

   
Notes
 
     

This property tells you how many unique field names are held in the form. You can use the count instead of the default enumerator. For example the following code...

Set theForm = Server.CreateObject("ABCUpload4.XForm")
For Each theItem In theForm
  Response.Write "<br>" & theItem & "<br>"
Next

is functionally equivalent to ....

Set theForm = Server.CreateObject("ABCUpload4.XForm")
For i = 1 To theForm.Count
  Response.Write "<br>" & theForm(i) & "<br>"
Next

Given the following form...

<form method="post" action="myup.asp" enctype="multipart/form-data">
<input type="text" name="flavor" value="peach"><br>
<input type="text" name="color" value="blue"><br>
<input type="submit" name="submit" value="submit">
</form>

they both might produce the following output...

flavor
color
submit

 

   
See Also
 
     

Item property.