search for: _address_form

Displaying 2 results from an estimated 2 matches for "_address_form".

Did you mean: address_form
2006 Apr 25
0
How to manage one to many within application.
...have to post the entire form and save it to the session. And if so how do I distinguish the different addresses? Does it post it in some sort of array? I cannot find any examples on the web on how to do this properly, but if you know of any please share them. Here is my code for this so far. _address_form <!--[form:address]--> <% session[:customer].addresses.each do %> <label for="customer_address_name">Address Title</label><br> <%= text_field ''address'', ''name'' %> <br> <label for="customer_ad...
2006 Feb 04
4
AJAX rendered select doesn''t get submitted
I have implemented the AJAX observe_field to filter the state/province options in my address form. This works great except when I submit the form, @params doesn''t contain the select element. _address_form.rhtml relevant snippet: <%= collection_select(:address, "country", Country.find(:all, :order => "position"), :code, :name, {:prompt => "-- Select Country --"}, {:class => "siteText", :style => "width: 175px;"}) %> <%= o...