Forums › Forums › Search & Filter Pro › Quick Search and Advanced search to same results page
- This topic has 4 replies, 2 voices, and was last updated 9 years, 2 months ago by
Anonymous.
-
Anonymous(Private) January 20, 2017 at 12:04 pm #84033
Hi,
Great plugin. Is there a way to have 2 forms to the same results ? I am using shortcodes so I have a full (advanced search) form that leads to my results page. I would love to have a second (quick search) with just a search box and none of the sliders, date ranges etc that I am using for the full search. Is this possible?The only way I can think of so far is to raid your plugin code and set css class for the unwanted elements of forms to display:none in a ‘quick-search’ class.
Not even sure that is possible and wouldn’t want to raid your plugin code unnecessarily, especially as I would probably break things on every update.
I guess this is a long winded way of asking if there is a way to show / hide different elements of a search form to have different versions showing on different pages (that all lead to the same shortcode results page?
If not then unless you have another suggestion I guess the only way around this would be to have 2 search forms , leading to 2 different search results pages depending on which search they completed. Not the end of the world, but not as desirable.
Cheers
Trevor(Private) January 20, 2017 at 1:53 pm #84077Let us assume we have two forms A and B, and they have results A and B
The results page has only the results B on it.
If the field(s) on form are also in Form B, using the same data source as in Form B, then Form A can happily send to results B, and results A would never be used.
Does that answer the question?
Anonymous(Private) January 20, 2017 at 4:18 pm #84120Hi,
Thanks for the reply. Yes I think I understand. So what I did was clone my full (advanced search) form and then deleted most of the fields from the second search form, leaving just the search box. As I left the results link the same all results from this form populate the existing results page.I’ll keep testing but I think that solves the issue. If I need any other variations of the form I’ll just do another clone and delete as necessary, but always work from the master advanced form.
Thanks for your help
-
AuthorPosts