The select helper for fields_for does not properly handle settings for onchange. In other words, x.select fails to add any onchange options, but x.text_field does e.g. <%= c.text_field :carrier, :size=>"30", :onchange => "return limitslist();" %> correctly yields <input id="coverage0_carrier" type="text" size="30" onchange="return limitslist();" name="coverage0[carrier]"/> but <%= c.select :cvg_desc, %w{ GL AL EL zz }, :onchange => "return limitslist();" %> yields <select id="coverage0_cvg_desc" name="coverage0[cvg_desc]"> Is this a known bug? Thanks for any help -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---