> If a form's submission method is get, then when you submit the form > its input elements are serialized and turned into a query string. The > standard just say that a ? and this query string is appended to the > action attribute (which would probably create an invalid url such as > foo?bar=baz?search=Florida ). In practise most browsers seem to just > ignore the query string that was part of the action attribute, > although I can't see anything in the standards that says this is ok > (equally I can't see anything that says that the query strings need to > be concatenated in a smart way). Given that the browser is going to > junk the query string bit from the form's action attribute you'll need > all of your various parameters as form parameters (unless you have > routes which push those parameters into the path of the url).. > > Fred
Thanks Fred, So, realistically if I just want a one-form submit query, I have to either add hidden field inputs that pull the given parameters on the given page so the form builds the query, or I have to use routes to do something similar... I'm almost inclined to believe that it will be simpler to just create an advanced search form with all queries in place.. -- 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

