I am trying to get a form like this:
Name form:
<% form_tag do %>
<p>
<label for="name">Name:</label>
<%= text_field_tag :search%> <%= submit_tag "Go"%>
</p>
<% end %>
Phone Number
<% form_tag do %>
<p>
<label for="ph">Phone Number:</label>
<%= text_field_tag :phone%> <%= submit_tag "Go"%>
</p>
<% end %>
What should I do with Seta and Setb values? Do I need to combine them with form tags? if so, then which ?
Functionality of the form will be that user selects either Seta or Setb and enter something in Name or Phone number and click corresponding Go button.