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

Messages.MaxFileCountExceeded Property

Supported browsers: Internet ExplorerFirefoxGoogle ChromeSafari

Gets or sets a message which states that a user tries to select too many files.

Syntax

PHP
public function getMaxFileCountExceeded() {
}

public function setMaxFileCountExceeded($value) {
}

Property Value

Type: string

The message which states that a user tries to select too many files (i.e. the number of the selected files is bigger than the MaxFileCount value). To disable this message, set it to an empty string. It can contain the following placeholder:

[name]
replaced by the name of the file which cannot be added.

Default value is "The file '[name]' cannot be selected. Amount of files exceeds the limit.".

Remarks

This property is necessary for localization of Image Uploader.

See Also

Reference