This topic is locked

How to always show search options in the search panel ?

12/31/2015 12:04:43 PM
PHPRunner General questions
M
Markb789 author

I would like to have the options (actually the search fields) ALWAYS displayed on the search panel, and remove the "show/hide options" button which is just confusing for basic users. (Actually I have just a few fields to search in, and each one has its possible and unique search type pre-set.)
I don't see an option for this? How to do it?
Thanks for help <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=question&id=23561&image=1&table=forumtopics' class='bbc_emoticon' alt=':)' />

Sergey Kornilov admin 12/31/2015

In PHPRunner 8.1 you can add something like this to List page: Javascript OnLoad event:

if ($("a[id=showHideSearchType1]").text()=="Show options" ) {

$("#showHideSearchType1").click();

}

$("#showHideSearchType1").hide();


This code will click 'Show options' button and will hide it after that.