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

restrictions.maxFileCount Property

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

Syntax

JavaScript Initialize
$au.imageUploaderFlash({
    restrictions: {
        //...other params...
        maxFileCount: 0,
        //...other params...
    }
})
Get/Set Value at Runtime
$au.imageUploaderFlash('uploaderID').restrictions().maxFileCount(value);
value = $au.imageUploaderFlash('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.

See Also

Reference