I''m trying to get the value of a form field (input type="text" id="name">) from a controller via the params hash, but this isn''t working. I thought params[:name] would return this. The textbox is not part of the model. Does anyone know how to do this?? Thanks! -- Posted via http://www.ruby-forum.com/.
Guest wrote:> I''m trying to get the value of a form field (input type="text" > id="name">) from a controller via the params hash, but this isn''t > working. I thought params[:name] would return this. The textbox is not > part of the model. >Whoops! use name= instead of id= for naming form elements. -- Matthew Beale :: mixonic@synitech.com Portfolio & Resume @ http://madhatted.com -- Posted via http://www.ruby-forum.com/.