DaDaBIK is 8.1
I want to add a button in the table view, that leads to a search result if clicked.
So if i Click this button :
I want to get this result:
Adding the Button via custom Display function is easy, but the form i added , always gets me just a redirect to the main page when i click the button.
The form for the button looks like this :
[pre]
<form method="post" action="index.php?tablename=Lager&function=search&execute_search=1&search_from_filter=1">
<input name="operator" value="and" type="hidden">
<input name="win_select_type" value="is_equal" type="hidden">
<input name="win" value="TEST 3434kk3k34k" type="hidden">
(538997)
<button class="btn btn-xs" type="submit">
<i class="fa fa-search"> </i>
</button>
</form>
[/pre]
So my questions are :
1. Am i missing something?? Need another Hidden field or whatever.
2. Is it possible to send a search simply using GET parameters in a plain link .
3. If 2 is impossible right now, maybe i could change $_POST to $_REQUEST somewhere in the core code to make it possible.
As you can see in the Images, i just want to trigger the search function of the recent table via that button.
Thanks in advance!
I want to add a button in the table view, that leads to a search result if clicked.
So if i Click this button :
I want to get this result:
Adding the Button via custom Display function is easy, but the form i added , always gets me just a redirect to the main page when i click the button.
The form for the button looks like this :
[pre]
<form method="post" action="index.php?tablename=Lager&function=search&execute_search=1&search_from_filter=1">
<input name="operator" value="and" type="hidden">
<input name="win_select_type" value="is_equal" type="hidden">
<input name="win" value="TEST 3434kk3k34k" type="hidden">
(538997)
<button class="btn btn-xs" type="submit">
<i class="fa fa-search"> </i>
</button>
</form>
[/pre]
So my questions are :
1. Am i missing something?? Need another Hidden field or whatever.
2. Is it possible to send a search simply using GET parameters in a plain link .
3. If 2 is impossible right now, maybe i could change $_POST to $_REQUEST somewhere in the core code to make it possible.
As you can see in the Images, i just want to trigger the search function of the recent table via that button.
Thanks in advance!