# Problem updating select box from another windows

**URL:** <https://www.ruby-forum.com/t/problem-updating-select-box-from-another-windows/132925>\
**Category:** Rails\
**Created:** [March 25, 2008, 9:37pm UTC](https://www.ruby-forum.com/t/problem-updating-select-box-from-another-windows/132925 "2008-03-25T21:37:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jessruby](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/d6d6ee/32.png) [@jessruby](https://www.ruby-forum.com/u/jessruby)\
**Post date:** [March 25, 2008, 9:37pm UTC](https://www.ruby-forum.com/t/problem-updating-select-box-from-another-windows/132925/1 "2008-03-25T21:37:00Z")

</div>

Hi I have the following problem:

I followed the screen cast to create complex forms from railscasts so i  
create a partial view for my equipments list, the client can add several  
different equipments that he select from a select box.

I also made another view (find\_equipment) in case looking for the  
equipment inside the select box. When i choose a equipment from the view  
(find\_equipment) I created there is no problem when there is only one  
equipment inside  
the client form, but when there is more than one equipment and I try to  
select it from the select view (find\_equipment) it does not update the  
select box it should, it update the first select box.

I also have a similar problem when I try to add service details  
(\_details.html.erb) the thing is that i have configured an observe\_field  
to watch for voip\_product\_id like this

```
  <%= observe_field "voip_product_id",
                    :frequency=>0.1,
                    :update=>"voip_products_id",
                    :with=>"voip_product_id",
                    :url => { :controller =>"show_select", :action

```

=\> “get\_voip\_details”}  
%\>  
the problem is that when I have more than one detail only the first  
detail have it select box updated

Can anyone help me please? i’m kind of lost here
