I have done something like this using AJAX calls to generate the 
dependent select's options.

If the Railscast doesn't help, let me know and I can send you some code.

Wes

Rafael wrote:
> Hi,
>
> How can i make a dynamic select? Suppose i have 3 models Country,
> State and City.
> City belongs_to State and State belongs_to Country.
> Then i have a model that belongs_to the 3 models above.
> What i want to do is when i select a country it updates the State
> select with states from that country,
> then i select a State and it updates the city select with cities from
> that State.
> Any ideas? examples?
>
> Thanks,
>
> >
>
>   

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"ActiveScaffold : Ruby on Rails plugin" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/activescaffold?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to