Meet us at PRINT 19. Chicago, IL. Oct. 3 - 5.

Messages.FileNameNotAllowed Property ActiveX/Java Uploader PHP

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. The website doesn't accept files of this type.".

Remarks

This property is necessary for localization of ActiveX/Java Uploader.

See Also

Reference