Hello,
I would like to allow people to type some text into a webpage and
then have that text passed to the controller (e.g. for use by a search
routine). The following code has an input box in a form. What would I
put in the “title” parameter to have that passed to the controller?
When I put in a constant string it works but when I put in things like
searcher.search_title.value or document.searcher.search_title.value the
error text complains about the first word I use. What would go where
the ??? is?
<%= link_to "search", :action => "list", :title => ???? %> |
I have the “Agile Development” and “Pragmatic Programmer” books but have
read less than half of each. Much more to learn, but the above problem
may be an HTML one.
Thanks,
Barry