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

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

Supported technologies:

Enables or disables the specified standard POST field.

Syntax

JavaScript
$au.imageUploaderFlash('uploaderID').metadata().enableStandardField(name, enable);

Parameters

name

Type: String

The name of the standard POST field to enable/disable.

enable

Type: Boolean

If true, the specified standard POST field is uploaded; otherwise, this filed in not send to a server.

Remarks

The name parameter can contain particular indices or use the following placeholders:

[itemIndex]

Current index of the file.

JavaScript
var u = $au.imageUploaderFlash('uploaderID');
u.metadata().enableStandardField("Tag_[itemIndex]", false);
[converterIndex]

Current index of the converted file.

JavaScript
var u = $au.imageUploaderFlash('uploaderID');
u.metadata().enableStandardField("File[converterIndex]Size_[itemIndex]", false);

See Also

Manual