restrictions.minFileCount Property ActiveX/Java Uploader JavaScript

Supported browsers: Internet ExplorerFirefoxGoogle ChromeSafari

Gets or sets a minimum number of files allowed for upload per one session.

Syntax

JavaScript Initialize
$au.uploader({
    restrictions: {
        //...other params...
        minFileCount: 1,
        //...other params...
    }
})
Get/Set Value at Runtime
$au.uploader('uploaderID').restrictions().minFileCount(value);
value = $au.uploader('uploaderID').restrictions().minFileCount();

Property Value

Type: Number

The minimum file count allowed for upload per one session.

Default value is 1.

Remarks

Note

The Upload button is disabled if the number of files selected for upload less than this value.

See Also

Reference

Manual