Hi
I want to pass a variable from one page to another and filter by the variable passed
Step 1 -
I have setup on the hyperlink tab the following - duration_matched10list.php?id=
when I click on the relevant record it goes to the new page ok with the variable as follows - duration_matched10list.php?id=6
on duration_matched10list.php in the filter tab I added: “groupm
=`”.$_GET[“id”].“”
I assumed it would substitute groupm for the value of ID in this case 6 and only bring back records where groupm was equal to 6
Im sure its obvious what im doing wrong so help appreciated
Regards
John
arbei
2
You need to pass search criteria like doing Extended Search, enable Extended Search, do some search and see the URL parameters in the URL.
Thank so an update
I have a page called duration_lookup10list.php and there is a column called groupm
in PHPMaker on that field I have added duration_matched10list.php?x_groupm=
When the page is displayed as I move the mouse down the column the value of groupm changes as expected
When clicked it brings up duration_matched10list.php?x_groupm=2 page with just the items that are part of groupm so all works
I do however need to have a tick in the Search Advanced box for that table page, but this displays the search option at the top of the page
As it works as I want it can I hide the search option or am I doing this in an incorrect way ?
Regards
John
arbei
4
Yes, you need to enable Extended or Advanced Search so that the code for searching will be generated, if you don’t want to see the Extended Search panel, you may add your CSS, see:
https://discourse.hkvstore.com/t/hide-page-name-only-on-search-page/2275/1