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

Messages.FileNameNotAllowed Property

Supported browsers: Internet ExplorerFirefoxGoogle ChromeSafari

Gets or sets a message which states that a user tries to select a file, the name of which is not allowed.

Syntax

PHP
public function getFileNameNotAllowed() {
}

public function setFileNameNotAllowed($value) {
}

Property Value

Type: string

The message which states that a user tries to select a file the name of which is not allowed (i.e. the file name does not match FileMask, or matches DeniedFileMask). 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. This file has inadmissible name.".

Remarks

This property is necessary for localization of Image Uploader.

See Also

Reference