messages.maxFileSizeExceeded Property HTML5/Flash Uploader JavaScript

Supported technologies: Adobe Flash

Gets or sets a message which states that a user tries to select a file that is too big.

Syntax

JavaScript Initialize
$au.imageUploaderFlash({
    messages: {
        //...other params...
        maxFileSizeExceeded: "Size of '{0}' is too large to be added. Maximum allowed size is {1}.",
        //...other params...
    }
})
Get/Set Value at Runtime
$au.imageUploaderFlash('uploaderID').messages().maxFileSizeExceeded(value);
value = $au.imageUploaderFlash('uploaderID').messages().maxFileSizeExceeded();

Property Value

Type: String

The message which states that a user tries to select a file which is too big (i.e. the file size exceeds the maxFileSize value). To disable this message, set it to an empty string. It can contain the following placeholder:

[name]
replaced by the name of the file which cannot be added.

Default value is "Size of '{0}' is too large to be added. Maximum allowed size is {1}.".

Remarks

This property is necessary for localization of HTML5/Flash Uploader.

See Also

Reference