FormElement Object

FormElement object contains uploaded HTML-form elements. FormElements collection is initialized with this objects.

Syntax

FormElement.property

 

Properties
Name The name of the associated form element.
Value The value of the associated form element.

 

Example

This sample writes the name and the value of the last FormElement object in the collection.
<% Set Uploader = Server.CreateObject("MailBee.Uploader")
Uploader.ParseRequest Request.BinaryRead(Request.TotalBytes)
If (Uploader.FormElements.Count <> 0) Then
   Set FormElement = Uploader.FormElements(Uploader.FormElements.Count)
   Response.Write FormElement.Name
   Response.Write " = "
   Response.Write FormElement.Value
End If %>

 

See Also

FormElements Collection | FormFiles Collection | FormFile Object | Uploader Object

 


Send feedback to AfterLogic
Copyright © 2002-2022, AfterLogic Corporation. All rights reserved.