This documentation is for the old version. Go to the latest Upload Suite docs

metadata.addCustomField(String,String,Boolean) Method

Adds a field to the collection.

Syntax

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

Parameters

name

Type: String

The 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.

See Also

Manual