I apologize if this appears to be too elementary and answered before.
I need to reset a text_field (named as ‘server_name’) in my controller.
The relevant controller code is:
<%= start_form_tag :action => ‘search’%>
<%= text_field :server, :server_name, :size => 15 %>
<%= submit_tag ‘Search’ %>
<%= end_form_tag %>
Also, I need to retain the values typed by the user in the above text
Could anybody help on how to do these?
Thanks in advance.