# Update content of secondary select box based on choice from first select box

**URL:** <https://discuss.hotwired.dev/t/update-content-of-secondary-select-box-based-on-choice-from-first-select-box/4699>\
**Category:** General\
**Created:** [January 13, 2023, 11:32am UTC](https://discuss.hotwired.dev/t/update-content-of-secondary-select-box-based-on-choice-from-first-select-box/4699 "2023-01-13T11:32:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rctneil](https://yyz1.discourse-cdn.com/flex027/user_avatar/discuss.hotwired.dev/rctneil/32/2082_2.png) [@rctneil](https://discuss.hotwired.dev/u/rctneil)\
**Post date:** [January 13, 2023, 11:32am UTC](https://discuss.hotwired.dev/t/update-content-of-secondary-select-box-based-on-choice-from-first-select-box/4699/1 "2023-01-13T11:32:01Z")

</div>

Hi,

Is there a decent guide for how to create a setup of two select boxes, where the secondary one populates its options based on the selection of the primary one?

I’d like to use Stimulus and Turbo but can’t find an up to date modern solution that uses both in order to take inspiration from.

Any suggestions? Or a set of steps to achieve this?

---

<div class="post-metadata">

**Author:** ![evenreven](https://yyz1.discourse-cdn.com/flex027/user_avatar/discuss.hotwired.dev/evenreven/32/1867_2.png) [@evenreven](https://discuss.hotwired.dev/u/evenreven)\
**Post date:** [January 15, 2023, 7:15am UTC](https://discuss.hotwired.dev/t/update-content-of-secondary-select-box-based-on-choice-from-first-select-box/4699/2 "2023-01-15T07:15:51Z")

</div>

I think this might be what you’re looking for:

> **[Dynamic forms with Turbo](https://thoughtbot.com/blog/dynamic-forms-with-turbo)**
>
> Fetch fresh fields from your servers with Turbo Frames.
