Forums › Forums › Search & Filter Pro › Setting Up S&F Pro for one type of post only (video)
Tagged: V3
- This topic has 35 replies, 3 voices, and was last updated 4 years, 4 months ago by
Trevor.
-
Trevor(Private) February 5, 2021 at 4:47 pm #275386
Do you want to add a text search to the form, or a separate search text box (which would potentially mean two forms on one page)?
This will change with V3 (due in a few months), but, for now, when referring to the results page, having a cloned/duplicated form (having more than one instance of the same form), or multiple different forms, will potentially be an issue, as doing this can mean that they don’t work together and often will conflict with each other. Just be aware that this is possible (likely), so if you have problems with the results not working, that might be why. Normally, we suggest only one form instance on the results page.
You CAN have more than one form on any page other than the results page.
What V3 will also bring is the ability to have a form on the page, but split it up to different parts of the page.
Trevor(Private) February 6, 2021 at 11:06 am #275460You can, yes. What do you want on the search bar? A box to type in to, a submit button, what else?
Does the page have a search icon in the header bar, would you want to use that instead, or maybe keep it for other more general searches?
The simplest method to have a (simpler) search form on another page to go to the results page is to make one using the ‘Custom’ display results method, enter the Results URL, and switch OFF Ajax.
Whatever fields you have in that simpler form, make sure there is an equivalent in the more complex search form on the results page to match (to receive, as it were, whatever is sent to it).
-
AuthorPosts