This topic is locked
[SOLVED]

Hide show all button on search panel

11/22/2022 8:15:23 AM
PHPRunner Tips and Tricks
M
Mauipm author

Hi, I'm trying to hide the "Show all" button in the search panel, without success.
I've found this code within a topic, that hides the Search Field button and the Search Panel Options (in the JavaScript OnLoad event):

$("#addSearchFieldButton1").hide(); // Hide the buttom the field selection button for searches
$("#searchPanelOptions1").hide(); // Hide the searches option button

but nothing regarding the "Show all" button that appear if a filter has been previously applied.

I'm currenty using 10.8 Phprunner version

Thanks for your help
Mauro

A
Andreas Georgiou 11/22/2022

There are form event that you can plug in the code and make it work. Are you familiar with those form events?

M
Mauipm author 11/23/2022

Thanks Andreas,
unfortunately I have never used Form Events. I had a look to the web resources (eg. https://www.w3schools.com/tags/ref_eventattributes.asp) but really I don't know how to apply that in to my project

Mauro

Sergey Kornilov admin 11/23/2022

If you upload this project to Demo Account and contact support directly, we can assist you with this code.

Sergey Kornilov admin 11/23/2022

Here is the code that does the job:

$("button[id='showAll1']").hide();

M
Mauipm author 11/24/2022

Really MANY thanks, it works perfectly (obviously :-) )
Mauro