# Fill values in dropdown from database on page load

**URL:** <https://community.tulip.co/t/fill-values-in-dropdown-from-database-on-page-load/2440>\
**Category:** General\
**Tags:** apps\
**Created:** [April 14, 2021, 5:07pm UTC](https://community.tulip.co/t/fill-values-in-dropdown-from-database-on-page-load/2440 "2021-04-14T17:07:02Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![gio](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tulip.co/gio/32/82_2.png) [@gio](https://community.tulip.co/u/gio)\
**Post date:** [April 14, 2021, 5:51pm UTC](https://community.tulip.co/t/fill-values-in-dropdown-from-database-on-page-load/2440/2 "2021-04-14T17:51:33Z")

</div>

hello @nitingoel82, that’s a great question.

once you’ve created a Connector to your Database: [How to Write a SQL Connector Function | Tulip Help Center - Support for Building Manufacturing Apps](https://support.tulip.co/en/articles/2221480-how-to-write-a-sql-connector-function), you can add a **On Step Enter** Trigger to Run the Connector Function and use the logic listed here: [Table records in a select option - #4 by gio](https://community.tulip.co/t/table-records-in-a-select-option/867/4) to populate the Single Select dropdown.

does that make sense?? let us know!!

---

_[View the full topic](https://community.tulip.co/t/fill-values-in-dropdown-from-database-on-page-load/2440)._
