FormVar Type

The form variable for the current request.

Remarks

This type describes a form variable that is to be posted to the URL when an upload action is performed. The type contains fields which describe this variable's name and value.

Fields

ContentType
String

This property specifies the Content-Type header for a Form Variable.

When a form variable is added to the component, the Content-Type header for the form variable can be controlled by this property. To omit the Content-Type header completely for a form variable set this to empty string.

The default value is "text/plain".

Name
String

This property contains the form variable name for the current request. If you are emulating the behavior of an existing HTML web form, this property will contain the name attribute of the 'INPUT' tag in the form which you are emulating.

Value
String

This property contains the form variable value for the current request.

Constructors

constructor Create();
constructor Create(valName: String; valValue: String);

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks 2020 Delphi Edition - Version 20.0 [Build 8307]