Sets or gets the maximum amount of files a site visitor can upload at a time.
Setting the fileLimit
property sets the maximum amount of image, video, or gallery files that
a site visitor can upload at a time. The value of fileLimit
defaults to 1
. It can be set to a number from 1
to 30
.
Note that this property isn't yet supported for audio and document files, and the value of fileLimit
is restricted to 1
.
Getting the fileLimit
property returns the number of
files that a site visitor can upload at a time.