# How can I toggle the search pane automatically?

**URL:** <https://pdfjs.community/t/how-can-i-toggle-the-search-pane-automatically/2037>\
**Category:** Technical Support\
**Tags:** pdfjs-express\
**Created:** [September 15, 2022, 11:06pm UTC](https://pdfjs.community/t/how-can-i-toggle-the-search-pane-automatically/2037 "2022-09-15T23:06:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![elliot](https://avatars.discourse-cdn.com/v4/letter/e/858c86/32.png) [@elliot](https://pdfjs.community/u/elliot)\
**Post date:** [September 15, 2022, 11:06pm UTC](https://pdfjs.community/t/how-can-i-toggle-the-search-pane-automatically/2037/1 "2022-09-15T23:06:03Z")

</div>

**Which product are you using?**  
PDF.js Express Plus

**PDF.js Express Version**  
Latest

**Detailed description of issue**  
I would like to show the search panel when the viewer loads, instead of forcing the user to click the search icon. Is there a way to do this?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex031/uploads/pdfjscommunity/original/1X/ffbcd25c7d423db8d5acd5db201c272f4db306dd.png) [@system](https://pdfjs.community/u/system)\
**Post date:** [September 15, 2022, 11:06pm UTC](https://pdfjs.community/t/how-can-i-toggle-the-search-pane-automatically/2037/3 "2022-09-15T23:06:08Z")

</div>

**Hello, I’m Ron, an automated tech support bot 🤖**

While you wait for one of our customer support representatives to get back to you, please check out some of these documentation pages:

Guides:
- [Customize toolbar in viewer - Header items - StatefulButton](https://pdfjs.express/documentation/ui-customization/customizing-header.8#statefulbutton)
- [How to customize viewer](https://pdfjs.express/documentation/ui-customization/customizing-setup.8)
- [Manually download and integrate PDF.js Express Viewer](https://pdfjs.express/documentation/get-started-viewer/manually)

APIs:
- [UndefinedviewerLoaded](https://pdfjs.express/api/namespaces.list.html#event:viewerLoaded__anchor)
- [Core.DisplayModeManager - setDisplayMode(displayMode)](https://pdfjs.express/api/Core.DisplayModeManager.html#setDisplayMode__anchor)
- [Core.Annotations.Forms.Field - show()](https://pdfjs.express/api/Core.Annotations.Forms.Field.html#show__anchor)

Forums:
- [Form fields not visible](https://pdfjs.community/t/form-fields-not-visible/118/1)
- [How to set default page transition when viewer loads](https://pdfjs.community/t/how-to-set-default-page-transition-when-viewer-loads/761/1)
- [Search results text highlighting only](https://pdfjs.community/t/search-results-text-highlighting-only/2002/1)

  
  

Share how you are using PDF.js Express in your organization you could win a **$500 Amazon gift card. All participants will receive 6 months of PDF.js Express+ for free**. Learn more [here](https://utm.guru/ueQNw)

---

<div class="post-metadata">

**Author:** ![zserviss](https://avatars.discourse-cdn.com/v4/letter/z/a9a28c/32.png) [@zserviss](https://pdfjs.community/u/zserviss)\
**Post date:** [September 20, 2022, 3:57pm UTC](https://pdfjs.community/t/how-can-i-toggle-the-search-pane-automatically/2037/4 "2022-09-20T15:57:01Z")

</div>

Hi Elliot,

Please refer to the guide to hide and how elements.

> **[Hide & Disable Buttons in PDF.js Express Viewer | Documentation](https://pdfjs.express/documentation/ui-customization/hiding-elements#list-of-elements)**

I believe the name for the search panel is `notesPanel`.

Best Regards,  
Zach Serviss  
Web Development Support Engineer  
PDFTron Systems, Inc.

Share how you are using PDF.js Express in your organization you could win a **$500 Amazon gift card. All participants will receive 6 months of PDF.js Express+ for free**. Learn more [here](https://utm.guru/ueQNw)
