---
title: "events.restrictionFailed Property  HTML5/Flash Uploader JavaScript"
canonical: https://www.aurigma.com/docs/us8/FH_P_J_$au_events_restrictionFailed.htm
product: "Upload Suite 8"
---

# events.restrictionFailed Property HTML5/Flash Uploader JavaScript

Supported technologies: ![Adobe Flash](https://www.aurigma.com/docs/us8/icons/flash.png)
 
Gets or sets an array of [RestrictionFailed](https://www.aurigma.com/docs/us8/FH_E_ImageUploaderFlash_RestrictionFailed.htm.md) event handlers.

## Syntax
 
```
$au.imageUploaderFlash({
    events: {
        //...other params...
        restrictionFailed: [],
        //...other params...
    }
})
```

```
$au.imageUploaderFlash('uploaderID').events().restrictionFailed(value);
value = $au.imageUploaderFlash('uploaderID').events().restrictionFailed();
```
 
### Property Value
 
Type: [$au.event](https://www.aurigma.com/docs/us8/FH_T_J_$au_event.htm.md)
 
The string containing the name of **RestrictionFailed** event handler or an array of handler names.

## Remarks
 
This event fires when some restriction is triggered.

## See Also
 
### Reference
 
- [RestrictionFailed Client-Side Event](https://www.aurigma.com/docs/us8/FH_E_ImageUploaderFlash_RestrictionFailed.htm.md)
- [ClientEvents.RestrictionFailed PHP Property HTML5/Flash Uploader](https://www.aurigma.com/docs/us8/FH_P_P_ClientEvents_RestrictionFailed.htm.md)
