# OPENFILTER

Use variables, on-load, and on-data-change scripts to create Inforiver filters without requiring access to the toolbar.

### Syntax

```javascript
OPENFILTER()
```

### Example

Create a button variable to call the OPENFILTER function.

<figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2FxTWjdhFWdYTDrG9k0HAj%2Fimage.png?alt=media&#x26;token=aec95f9c-8ded-402c-92a0-3e63b1c934a8" alt=""><figcaption><p>Calling the OPENFILTER function in a variable</p></figcaption></figure>

Users can click the Filter button variable and need not depend on the toolbar to apply custom filters.

<figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2Fq7I4RycIFyVQsGW2L63d%2FUntitled%20Project.gif?alt=media&#x26;token=3bf12029-14f1-47df-9bf9-b49384f45468" alt=""><figcaption><p>OPENFILTER</p></figcaption></figure>
