## Aurigma Image Uploader 6.1 Dual

# ImageUploader.AddField Method

- Collapse All Sections
- See Also
- Language Filter ( all languages )
- Supported in: ActiveX , Java

Adds a POST field with specified name and value to the request submitted to the server.

## Syntax

### JavaScript

    getImageUploader("ImageUploaderID").AddField(Name, Value);

### Parameters

Name

  Name of the POST field (an analogue to the name attribute of an <input> HTML element).

  Note

  If you try to add several fields with the same name, the latest one will overwrite the previous value.

Value
  Value of the POST field (an analogue to the value attribute of an <input> HTML element).

## Remarks

Alternatively you can attach an additional form to the request. Use the AdditionalFormName property to do that.

## See Also

### Examples

- Customizing Upload Pane
- Uploading Additional Data with Files

### Reference

- AdditionalFormName Property
- RemoveField() Method