# Combobox dinamica nelle form

**URL:** <https://www.ruby-forum.com/t/combobox-dinamica-nelle-form/127599>\
**Category:** IT\
**Created:** [January 30, 2008, 6:26pm UTC](https://www.ruby-forum.com/t/combobox-dinamica-nelle-form/127599 "2008-01-30T18:26:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![blademckain](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/3d9bf3/32.png) [@blademckain](https://www.ruby-forum.com/u/blademckain)\
**Post date:** [January 30, 2008, 6:26pm UTC](https://www.ruby-forum.com/t/combobox-dinamica-nelle-form/127599/1 "2008-01-30T18:26:16Z")

</div>

Ã¨ possibile creare delle combobox popolate dinamicamente in base alla  
scelta del utente nelle form?  
mi spiego ho una form con

Nome Text  
Regione Combobox  
CittÃ Combobox

vorrei che a seconda della regione che l’utente sceglie si popolasse la  
combobox cittÃ con le citta presenti in quella regione

ovviamente ho 2 tabelle  
tabella regions  
id nome

tabella cities  
id nome region\_id

---

<div class="post-metadata">

**Author:** ![blademckain](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/3d9bf3/32.png) [@blademckain](https://www.ruby-forum.com/u/blademckain)\
**Post date:** [January 30, 2008, 6:32pm UTC](https://www.ruby-forum.com/t/combobox-dinamica-nelle-form/127599/2 "2008-01-30T18:32:35Z")

</div>

Vedi qui:

> **[\#88 Dynamic Select Menus - RailsCasts](http://railscasts.com/episodes/88-dynamic-select-menus)**
>
> Short Ruby on Rails screencasts containing tips, tricks and tutorials. Great for both novice and experienced web developers.

2008/1/30, Blade M. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid):
