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

messages.tooFewFiles Property

Gets or sets the message displayed when the user tries to add fewer files than the minFileCount restriction.

Syntax

JavaScript Initialize
$au.imageUploaderFlash({
    messages: {
        //...other params...
        tooFewFiles: "At least {0} files should be selected to start upload.",
        //...other params...
    }
})
Get/Set Value at Runtime
$au.imageUploaderFlash('uploaderID').messages().tooFewFiles(value);
value = $au.imageUploaderFlash('uploaderID').messages().tooFewFiles();

Property Value

Type: String

The message displayed when the user tries to add fewer files than the minFileCount restriction.

To be able to display additional information in this error message, special placeholder is used:

{0}
replaced by the minFileCount value.

Default value is "At least {0} files should be selected to start upload.".

Remarks

This property is necessary for localization of Image Uploader Flash.

See Also

Reference