Meet us at PRINT 19. Chicago, IL. Oct. 3 - 5.

metadata.addCustomField(String,String,Boolean) Method HTML5/Flash Uploader JavaScript

Supported technologies: Adobe FlashHTML 5

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