# Creating a Dynamic Search Bar(HubDB)

**URL:** <https://community.hubspot.com/t/creating-a-dynamic-search-bar-hubdb/58281>\
**Category:** CMS Development\
**Tags:** hubdb, html\
**Created:** [June 2, 2022, 10:00pm UTC](https://community.hubspot.com/t/creating-a-dynamic-search-bar-hubdb/58281 "2022-06-02T22:00:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![unicorndev](https://avatars.discourse-cdn.com/v4/letter/u/919ad9/32.png) [@unicorndev](https://community.hubspot.com/u/unicorndev)\
**Post date:** [June 2, 2022, 10:00pm UTC](https://community.hubspot.com/t/creating-a-dynamic-search-bar-hubdb/58281/1 "2022-06-02T22:00:49Z")

</div>

Hi there, I’m trying to create a dynamic search bar as listed in the photo where once you start to type something in, the results dropdown would show results.

I want the search bar to display local representatives/companies. For example, I’ll type ‘California’ in the search bar and click ‘Enter’ and the webpage will generate with the results.

I want to create a search bar that functions exactly how it is on this site:

[https://www.uson.com/local-support/](https://www.uson.com/local-support/)

I’m pulling data from my Hubdb Table(its part of my task at work) and I would like that to display on my search options dropdown.

If there’s anywhere in the documentation that can show me how to handle this, I would appreciate it!(I might have missed it, though I’ve searched intensively) Or some example code would help and I can modify it on my own. Thanks!

 ![example.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/a/0/a0e1a505c8db2961f7da42f17781d4e383c24eaf.png)

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [June 3, 2022, 4:52pm UTC](https://community.hubspot.com/t/creating-a-dynamic-search-bar-hubdb/58281/2 "2022-06-03T16:52:32Z")

</div>

Hi, @unicorndev 🦄 Thanks for the interesting question.

Hey, @alyssamwilie @assi @prosa @Anton, do you have any experience building out something similar? Or thoughts on how @unicorndev might approach this project?

Thank you! — Jaycee

---

<div class="post-metadata">

**Author:** ![unicorndev](https://avatars.discourse-cdn.com/v4/letter/u/919ad9/32.png) [@unicorndev](https://community.hubspot.com/u/unicorndev)\
**Post date:** [June 3, 2022, 5:23pm UTC](https://community.hubspot.com/t/creating-a-dynamic-search-bar-hubdb/58281/3 "2022-06-03T17:23:11Z")

</div>

Actually, nevermind, sorry! My team saw it was overcomplicating some things and we simplified it to just a simple dropdown list. I’m noting this as an accepted solution since idk where to delete the post. Thank you!
