messages.maxFileCountExceeded Property ActiveX/Java Uploader JavaScript

Supported browsers: Internet ExplorerFirefoxGoogle ChromeSafari

Gets or sets a message which states that a user tries to select too many files.

Syntax

JavaScript Initialize
$au.uploader({
    messages: {
        //...other params...
        maxFileCountExceeded: "The file '[name]' cannot be selected. Amount of files exceeds the limit.",
        //...other params...
    }
})

Property Value

Type: String

The message stating a file name that can not be selected due to the maxFileCount limitation. 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 "The file '[name]' cannot be selected. Amount of files exceeds the limit.".

Remarks

This property is necessary for localization of ActiveX/Java Uploader.

See Also

Reference