# Dynamically add select options from user metadata

**URL:** <https://community.gravityforms.com/t/dynamically-add-select-options-from-user-metadata/3971>\
**Category:** Get Help\
**Tags:** custom, populate-anything, gravity-wiz\
**Created:** [February 19, 2020, 8:04pm UTC](https://community.gravityforms.com/t/dynamically-add-select-options-from-user-metadata/3971 "2020-02-19T20:04:01Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![danloffler](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/danloffler/32/1401_2.png) [@danloffler](https://community.gravityforms.com/u/danloffler)\
**Post date:** [February 19, 2020, 8:04pm UTC](https://community.gravityforms.com/t/dynamically-add-select-options-from-user-metadata/3971/1 "2020-02-19T20:04:01Z")

</div>

Hi All,

I have a form where a user registers as a “Company” and I’ve got a textarea where they can enter “Associates Names” separated by commas. This all uses the User Registration plugin, it works great.

Now I need to make a separate form for the Company who is logged in and populate a dropdown (select) with the names of the associates entered into the other form and from the user metadata.

Any ideas?

---

<div class="post-metadata">

**Author:** ![chrishajer](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/chrishajer/32/88_2.png) [@chrishajer](https://community.gravityforms.com/u/chrishajer)\
**Post date:** [February 19, 2020, 8:24pm UTC](https://community.gravityforms.com/t/dynamically-add-select-options-from-user-metadata/3971/2 "2020-02-19T20:24:06Z")

</div>

Hi Dan. There is no built in functionality to do that in Gravity Forms. You could do it with your own coded solution, or this plugin from Gravity Wiz:

> **[Gravity Forms Populate Anything - Gravity Wiz](https://gravitywiz.com/documentation/gravity-forms-populate-anything/)**
>
> Dynamically filter and populate field choices and values with posts, users, taxonomies, terms, Gravity Forms entries, and databases. Pretty much anything!

The fact that the Associate Names are entered as a comma separated list, in an HTML field may complicate things, and then you need to pull the user meta from the database based on those names retrieved from a previous entry, makes this a pretty complex customization. I’m not sure if Populate Anything can actually handle all that without any additional code. You could check with their support to be sure, before you purchase anything.

---

<div class="post-metadata">

**Author:** ![danloffler](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/danloffler/32/1401_2.png) [@danloffler](https://community.gravityforms.com/u/danloffler)\
**Post date:** [February 19, 2020, 9:06pm UTC](https://community.gravityforms.com/t/dynamically-add-select-options-from-user-metadata/3971/3 "2020-02-19T21:06:42Z")

</div>

Hi Chris,

I could change the way the Associates are entered to conform to the plugin. But I don’t know how to add fields to the User Metadata though the WP Profile page. Right now there is one box where everybody is entered and the same box in the Profile page where they can be edited.

Thanks.

I’ll check it out.

---

<div class="post-metadata">

**Author:** ![richardw8k](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/richardw8k/32/2354_2.png) [@richardw8k](https://community.gravityforms.com/u/richardw8k)\
**Post date:** [January 5, 2022, 8:52am UTC](https://community.gravityforms.com/t/dynamically-add-select-options-from-user-metadata/3971/4 "2022-01-05T08:52:30Z")

</div>

Closed on January 5, 2022, 8:52am UTC


