# "Search or Create" function within a form

**URL:** https://community.glideapps.com/t/search-or-create-function-within-a-form/78288
**Category:** Ask for Help
**Created:** [December 2, 2024, 3:45pm UTC](https://community.glideapps.com/t/search-or-create-function-within-a-form/78288 "2024-12-02T15:45:02Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![rick\_b](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/rick_b/32/82680_2.png) [@rick\_b](https://community.glideapps.com/u/rick_b)
#### Post date: [December 2, 2024, 3:45pm UTC](https://community.glideapps.com/t/search-or-create-function-within-a-form/78288/1 "2024-12-02T15:45:03Z")

</div>

Hey everyone!

Within an Add Form, I’m trying to build something to have a “Search or Create” mechanic. For searching it works just fine and applies the filtering I need. For the creation part so far I was able to have it designed as a secondary Form within the main Form that whenever I submit the new data it goes back to the main form and the New Entry appears in the filter for the Dropdown field selector:

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/1/9/19057215d295cb9977bdc8313f99b7a6f7cb1db4.png)  
 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/7/3/7356cb38011a6e64534dac66336c183aede43ad2.png)  
 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/b/b/bb1201a0ebbf638fc5263f1d129e710d1374ad0c.png)

So far so good, but I wonder if there’s a way that I can populate the dropdown dynamically with the newly created data?

---

<div class="post-metadata">

### Author: ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)
#### Post date: [December 3, 2024, 1:24am UTC](https://community.glideapps.com/t/search-or-create-function-within-a-form/78288/2 "2024-12-03T01:24:40Z")

</div>

That’s a good way to do it. I would love it if clicking “New Entry” would lead directly to the form though, and it should be supported natively.
