Forums › Forums › Search & Filter Pro › How to use second search on next page?
- This topic has 16 replies, 2 voices, and was last updated 5 years, 5 months ago by Anonymous.
-
Anonymous(Private) July 16, 2019 at 4:38 pm #216451
How can I further narrow down the search results using the your search function?
1. use search box and move to next page.
2. use search box again from search result and move to next page.
3. use search box again from search result and move to next page.example
1.top 2.nextpage 3.next page
Japan(5) – Tokyo(2) – A city(1)
B city(2)
Osaka(3) – F city(1)
S city(1)I am using category(parent, child, grandchild).
Best regards,
Anonymous(Private) July 19, 2019 at 5:47 am #216676Thank you for your reply.
I want to do like the homepage below.(this is not my site.)
https://www.livable.co.jp/kounyu/chuko-mansion/tokyo/select-line/
Step
1. use search function to list train line name and move to next page.(AND search)
2. use search function to list station name and move to next page.(AND search)
3. use search box again (by preference OR search)Search result should be are taken over to No.2 and No.3.
How can I do that by S&F ?
Also I have another question.
How can I use range slider? what kind of data is set on each post data?
Regards,
Anonymous(Private) July 19, 2019 at 5:52 am #216678Thank you for your reply.
I also have another question.
How can put URL link on listed name with check box type?
https://kansaisan.com/mansion_library/toyonaka
regards,
Trevor(Private) July 19, 2019 at 12:53 pm #216707On this page:
https://kansaisan.com/mansion_library/toyonaka
I get a 403 forbidden error.
with regard to the question of moving pages, this would be possible.
In page #1 you have ‘lines’ and the form #1 has lines field. It has as its results URL as page #2
In page #2 you have ‘lines’ field hidden by CSS and also ‘station’ field in form #2. It has as its results URL as page #3
In page #3 you have ‘lines’ and ‘station’ fields both hidden (or showing, as you wish), plus other fields, in form #3. It has its results URL as page #3.
You will probably use the Custom display method for all 3 forms, and have custom templates for each page, where the search_filter_id is passed as an argument to the query in that template.
You WILL need to be a good or even advanced PHP/Wordpress coder to do this, or employ the services of such a person (maybe from a site like https://codeable.io), as such coding is not within the scope of our support.
I am not sure what you mean to do with the slider you mention. Sliders can be created using the Form UI Post Meta object (based on a custom field with the numeric or date data in), and then you specify in the field design what type of data and what type of control you want.
Anonymous(Private) July 20, 2019 at 2:08 am #216798Thank you so much for your support
I have still problem. How result data will be taken over different form results ?
CASE1
In page #2
[searchandfilter id=”50″] OR searchIn page #3
[searchandfilter id=”50″] OR search display: hidden
[searchandfilter id=”78″] AND search[searchandfilter id=”50″ show=”results”] Auto submit form
Trouble
“Form 78 does not work with search results 50.”CASE2
In page #2
[searchandfilter id=”50″] OR searchIn page #3
[searchandfilter id=”50″] OR search display: hidden
[searchandfilter id=”78″] AND search[searchandfilter id=”78″ show=”results”] Auto submit form
Trouble
No result found.Is there any short code option like bellow or another solution?
[searchandfilter id=”50,78″ show=”results”]
Regards,
Anonymous(Private) July 20, 2019 at 2:35 am #216800Thank you for your support.
I would like put add more information about current situation.
1.Form 78 and Form 50 have different search form UI.Form 50 -> line
Form 78 -> price, some preference etc..Could you please provide some solution ?
2.what is the Active Query Object for ? where do I need to put this code ?
<?php
//grab the active query from our search form
//replace1526
with the ID of your search form
global $searchandfilter;
$sf_current_query = $searchandfilter->get(1526)->current_query();
?>https://searchandfilter.com/documentation/accessing-search-data/
Regards,
Trevor(Private) July 21, 2019 at 1:33 pm #216814I am not sure that I understand you, and that may be because of translation issues, for which I am sorry.
The results are not passed from one form to another, and only one form can exists on one page.
So, to ‘pass’ the search from one page to the next, the fields from the preceding form must be on the receiving form.
So, if form #50 has ‘lines’ in it, lines must also be in form #78 for it to receive the option chosen. You can use CSS (display: none;) to hide the ‘lines’ field, but it must be in form #78, as well as form #50.
Anonymous(Private) July 21, 2019 at 3:02 pm #216825>So, to ‘pass’ the search from one page to the next, the fields from the preceding form must be on the >receiving form.
>So, if form #50 has ‘lines’ in it, lines must also be in form #78 for it to receive the option chosen. You >can use CSS (display: none;) to hide the ‘lines’ field, but it must be in form #78, as well as form #50.
The following are correct setting that you mentioned ?
In page #2
[searchandfilter id=”50″] OR search
[searchandfilter id=”78″] AND search display: hiddenIn page #3
[searchandfilter id=”50″] OR search display: hidden
[searchandfilter id=”78″] AND search
[searchandfilter id=”78″ show=”results”] Auto submit formif not correct, could you please show correct setting in the same way ?
-
AuthorPosts