metadata.addCustomField(String,String,Boolean) Method ActiveX/Java Uploader JavaScript

Supported browsers: Internet ExplorerFirefoxGoogle ChromeSafari

Adds a custom field to the collection.

Syntax

JavaScript
$au.uploader('uploaderID').metadata().addCustomField(name, value, add);

Parameters

name

Type: String

The custom field name.

value

Type: String

The value to add.

add

Type: Boolean

The value specifies how to handle a situation when a field with a given name is already added to the POST requst. If true, the previously added value will be preserved and a new field with the same name will be added. Otherwise, this value will be overwritten.