2009/7/16 Valli <[email protected]>:
>
> so i want to selectioin boxes,
>
> -->one for choosing the mandant_id
> --> and then later having tht information in my second selection box i
> only want to see the files_id which correspond to tht mandant.....
> --> and i will choose one which i will see later in the database next
> to the mandant_id
>
> However in the moment i have the to selection boxes and they work fine
> ecxept tht the second one does't display ONLY the files corresponding
> to the mandant.
>
> Does tht make any sense know??
> and surry for the bad understanding....

In that case you may want to use AJAX to update the second selection
box when the user selects from the first one.  If you have not used
AJAX with Rails then a bit of googling will provide numerous tutorials
and guides.

Colin

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" 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/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to