Minimum number of files allowed for upload per one session.
Syntax
Initialize
| JavaScript | Copy Code
|
|---|---|
<script type="text/javascript" src="iuembed.js"></script> <script type="text/javascript"> var iu = new ImageUploaderWriter("ImageUploaderID", 610, 500); //...other params... iu.addParam("MinFileCount", "1"); //...other params... iu.writeHtml(); </script> |
|
Get/Set Value in Runtime
| JavaScript | Copy Code
|
|---|---|
getImageUploader("ImageUploaderID").setMinFileCount(value);
value = getImageUploader("ImageUploaderID").getMinFileCount();
|
|
Property Value
A non-negative integer value that specifies minimum file count allowed for upload per one session.
Default value is "1".
Remarks
Note |
|---|
|
The Send button is disabled if the number of files selected for upload less than the MinFileCount value. |
If the value of this property is 0 and user clicks the Send button without any file
in the upload list, the POST request contained only the upload information and custom additional fields will be sent.
For more information about the additional fields read the POST Field Reference topic.
Copy Code
Note