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

restrictions.maxFileCount Property

Supported browsers: Internet ExplorerFirefoxGoogle ChromeSafari

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

Syntax

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

Property Value

Type: Number

The maximum file count allowed for upload per one session. If the value is 0 then there is no limit.

Default value is 0.

Remarks

Note

Image Uploader Express restricts the maximum number of user-selected files to 100. See the Comparison of Image Uploader Editions topic for details.

See Also

Reference

Manual