---
title: "events.restrictionFailed Property  ActiveX/Java Uploader JavaScript"
canonical: https://www.aurigma.com/docs/us8/JA_P_J_$au_events_restrictionFailed.htm
product: "Upload Suite 8"
---

# events.restrictionFailed Property ActiveX/Java Uploader JavaScript

Supported browsers: ![Internet Explorer](https://www.aurigma.com/docs/us8/icons/ie8.png)![Firefox](https://www.aurigma.com/docs/us8/icons/firefox.png)![Google Chrome](https://www.aurigma.com/docs/us8/icons/chrome.png)![Safari](https://www.aurigma.com/docs/us8/icons/safari.png)
 
Gets or sets an array of [RestrictionFailed](https://www.aurigma.com/docs/us8/JA_E_Uploader_RestrictionFailed.htm.md) event handlers.

## Syntax
 
```
$au.uploader({
    events: {
        //...other params...
        restrictionFailed: [],
        //...other params...
    }
})
```

```
$au.uploader('uploaderID').events().restrictionFailed(value);
value = $au.uploader('uploaderID').events().restrictionFailed();
```
 
### Property Value
 
Type: [$au.event](https://www.aurigma.com/docs/us8/JA_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 broken.

## See Also
 
### Reference
 
- [RestrictionFailed Client-Side Event](https://www.aurigma.com/docs/us8/JA_E_Uploader_RestrictionFailed.htm.md)
- [ClientEvents.RestrictionFailed PHP PropertyActiveX/Java Uploader](https://www.aurigma.com/docs/us8/JA_P_P_ClientEvents_RestrictionFailed.htm.md)
