# Javascript: Forms.showFormsBar Method

> Shows or hides the form navigation bar. If no form bar is available, no action is taken.

- **Product:** DS Server
- **Section:** Reference
- **Kind:** Method
- **Introduced:** 30.0.406.500
- **Path:** DS Server > Reference > JavaScript API - Document Viewer > Javascript: Forms.showFormsBar Method
- **235 words**
- **Web URL:** https://docs.textcontrol.com/ds-server/reference/javascript-document-viewer/forms/showformsbar-method/
- **LLMs URL:** https://docs.textcontrol.com/ds-server/reference/javascript-document-viewer/forms/showformsbar-method/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/ds-server/reference/javascript-document-viewer/forms/showformsbar-method/llms-full.txt

---

### Description

Shows or hides the form navigation bar. If no form bar is available, no action is taken.

### Syntax

```javascript
<void> Forms.showFormsBar(<boolean> show)
```

### Parameters

| Parameter | Description |
|---|---|
| show | `true` shows the forms bar; `false` hides it. |

### Return Value

Shows or hides the form navigation bar. If no form bar is available, no action is taken.

### Examples

The following example demonstrates `forms.showFormsBar` in a practical Document Viewer workflow. Gets or sets whether to show an information bar that informs the user that a document contains fillable forms.

```javascript
TXDocumentViewer.forms.showFormsBar(true);
console.log("show forms bar requested.");
```

---

## Nearby

- **Previous:** [Javascript: Forms.removeEventListener Method](https://docs.textcontrol.com/ds-server/reference/javascript-document-viewer/forms/removeeventlistener-method/llms-full.txt)
- **Next:** [Javascript: Forms.validate Method](https://docs.textcontrol.com/ds-server/reference/javascript-document-viewer/forms/validate-method/llms-full.txt)
