# Lonked Select Boxes

**URL:** <https://www.ruby-forum.com/t/lonked-select-boxes/50398>\
**Category:** Rails\
**Created:** [December 15, 2005, 11:50pm UTC](https://www.ruby-forum.com/t/lonked-select-boxes/50398 "2005-12-15T23:50:24Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![OE1](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/o/50afbb/32.png) [@OE1](https://www.ruby-forum.com/u/OE1)\
**Post date:** [December 15, 2005, 11:50pm UTC](https://www.ruby-forum.com/t/lonked-select-boxes/50398/1 "2005-12-15T23:50:24Z")

</div>

linked selects are critical to my application. for those who don’t know,  
a linked select updates as the select box it is linked to is updated.

for example, if select 1 is “California”, then select 2 will list all  
the cities in California.

change select 1 to Washington and select 2 will automatically change to  
list all the cities in Washington.

I use a php forms class to achieve this functionality right now.

Does RoR offer it?

tia…

---

<div class="post-metadata">

**Author:** ![OE1](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/o/50afbb/32.png) [@OE1](https://www.ruby-forum.com/u/OE1)\
**Post date:** [December 15, 2005, 11:58pm UTC](https://www.ruby-forum.com/t/lonked-select-boxes/50398/2 "2005-12-15T23:58:34Z")

</div>

Updated title only.

OE1 wrote:

> linked selects are critical to my application. for those who don’t know,  
> a linked select updates as the select box it is linked to is updated.
> 
> for example, if select 1 is “California”, then select 2 will list all  
> the cities in California.
> 
> change select 1 to Washington and select 2 will automatically change to  
> list all the cities in Washington.
> 
> I use a php forms class to achieve this functionality right now.
> 
> Does RoR offer it?
> 
> tia…

---

<div class="post-metadata">

**Author:** ![OE1](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/o/50afbb/32.png) [@OE1](https://www.ruby-forum.com/u/OE1)\
**Post date:** [December 16, 2005, 3:02am UTC](https://www.ruby-forum.com/t/lonked-select-boxes/50398/3 "2005-12-16T03:02:36Z")

</div>

OE1 wrote:

> Does RoR offer it?
> 
> tia…

Ah - that’s my question too! See HOW DO I populate options from previous  
option click. I too need to Lonk Lists :~)  
Eric.

---

<div class="post-metadata">

**Author:** ![OE1](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/o/50afbb/32.png) [@OE1](https://www.ruby-forum.com/u/OE1)\
**Post date:** [December 16, 2005, 9:58am UTC](https://www.ruby-forum.com/t/lonked-select-boxes/50398/4 "2005-12-16T09:58:07Z")

</div>

> > linked selects are critical to my application. for those who don’t know,  
> > a linked select updates as the select box it is linked to is updated.
> > 
> > for example, if select 1 is “California”, then select 2 will list all

check this out  
[http://www.roryhansen.ca/?p=9](http://www.roryhansen.ca/?p=9)
