## Aurigma Image Uploader 7.0.28

# messages.fileNameNotAllowed Property

- Collapse All Sections
- See Also
- Language Filter ( all languages )
- Supported browsers:

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

## Syntax

### JavaScript

### Initialize

    $au.uploader({
        messages: {
            //...other params...
            fileNameNotAllowed: "The file '[name]' cannot be selected. This file has inadmissible name.",
            //...other params...
        }
    })

### 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

- fileMask Property
- deniedFileMask Property
- Aurigma.ImageUploader.Messages.FileNameNotAllowed ASP.NET Property
- Messages.FileNameNotAllowed PHP Property