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

messages.maxFileCountExceeded Property

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

Syntax

JavaScript Initialize
$au.imageUploaderFlash({
    messages: {
        //...other params...
        maxFileCountExceeded: "Not all files were added. You allowed to upload no more than {0} file(s).",
        //...other params...
    }
})
Get/Set Value at Runtime
$au.imageUploaderFlash('uploaderID').messages().maxFileCountExceeded(value);
value = $au.imageUploaderFlash('uploaderID').messages().maxFileCountExceeded();

Property Value

Type: String

The message which states that a user tries to select too many files (i.e. the number of the selected files is bigger than the maxFileCount 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 "Not all files were added. You allowed to upload no more than {0} file(s).".

Remarks

This property is necessary for localization of Image Uploader Flash.

See Also

Reference