# Creating dynamic fields

**URL:** <https://community.hubspot.com/t/creating-dynamic-fields/45882>\
**Category:** APIs & Integrations\
**Tags:** forms\
**Created:** [October 25, 2021, 1:43pm UTC](https://community.hubspot.com/t/creating-dynamic-fields/45882 "2021-10-25T13:43:39Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![MaciejH](https://avatars.discourse-cdn.com/v4/letter/m/94ad74/32.png) [@MaciejH](https://community.hubspot.com/u/MaciejH)\
**Post date:** [October 25, 2021, 1:43pm UTC](https://community.hubspot.com/t/creating-dynamic-fields/45882/1 "2021-10-25T13:43:39Z")

</div>

Hey, I’ve got the question regarding to the dynamic options in select lists. I would like to have the select list. I’m not sure if I can only specify list of options directly in the hubspot UI or I can somehow use API to create options and push them into the hubspot form.

Example: I have on my website 50 different types of houses which can change quite often. I would like to display them in the select list in form which will be build in the hubspot. I would like to keep the form select list updated. I cannot see the API docs corresponding to this issue. Can I do that?

---

<div class="post-metadata">

**Author:** ![dennisedson](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/dennisedson/32/28044_2.png) [@dennisedson](https://community.hubspot.com/u/dennisedson)\
**Post date:** [October 26, 2021, 5:19pm UTC](https://community.hubspot.com/t/creating-dynamic-fields/45882/2 "2021-10-26T17:19:00Z")

</div>

@stefen , what would you suggest as the best way to go about this?

---

<div class="post-metadata">

**Author:** ![JTrotmanCP](https://avatars.discourse-cdn.com/v4/letter/j/8e7dd6/32.png) [@JTrotmanCP](https://community.hubspot.com/u/JTrotmanCP)\
**Post date:** [October 27, 2021, 10:56am UTC](https://community.hubspot.com/t/creating-dynamic-fields/45882/3 "2021-10-27T10:56:48Z")

</div>

I’m interested in the same type of functionality. I’d like to populate a select list with a set of possible associated companies that’s filtered by an attribute(s) on company.

---

<div class="post-metadata">

**Author:** ![stefen](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/stefen/32/29274_2.png) [@stefen](https://community.hubspot.com/u/stefen)\
**Post date:** [October 29, 2021, 12:26pm UTC](https://community.hubspot.com/t/creating-dynamic-fields/45882/4 "2021-10-29T12:26:24Z")

</div>

@MaciejH for something more custom like this I would recommend using the “[Submit data to a form](https://legacydocs.hubspot.com/docs/methods/forms/submit_form)” API. As long as you have an existing form made with all the available inputs/options, you can then code your own custom form and make it look or work exactly how you want with your own javascript. Basically de-coupling the front-end from the form itself so you have full control over it.
