I have some code looking like this: <input id="search_param[<%= var %>]" name="search_param[<%= var %>]" type="checkbox" value="0"/> <b><font size="-1"><%= var %></font></b><br> <select name="param_sym[<%= var %>]" type="select"> <option value="1" selected>equals</option> <option value="2">less than</option> <option value="3">greater than</option> <option value="4">less or equals</option> <option value="5">greater or equals</option> <option value="6">not equal to</option> <option value="7">is DEFAULT</option> </select> <input id="param_value[<%= var %>]" name="param_value[<%= var %>]" type="text" size="<%= @vlen %>" value=""/> What I''d expect this to produce for each "var" is: 1. A checkbox with the value params[:search_param]["var"] equal to 0 if unchecked, 1 if checked. 2. A drop down menu that puts a value of 1-7 (default 1) in params[:param_sym]["var"] 3. A text box that takes user input and places in params[:param_value]["var"] What it actually does is: 1. params[:search_param] is not created. 2. params[:param_sym]["var"] is always set to "1" 3. The param value part actually works. Would anyone mind explaining what I have done wrong? -- Posted via 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 groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---