This topic is locked

Advanced Search - Too Complicated??

4/16/2008 6:06:15 AM
PHPRunner General questions
D
daviesgh author

Hi,
A number of users using web sites made using PHPrunner have complained that the Advanced Search Page is too complicated. They are unsure what the NOT tick box is for, and sometimes think that they should tick the NOT tickbox in order to search for that particular criteria. The other area of confusion is the Search for All or Any Condition. I appreciate that proper training for users would resolve the above, but this is not always practical.
What would be the best/simplest way to remove NOT tickbox column and also the Search for All or Any Condition? Ideally I would like a flag in the website that I could toggle these features on/off or even do it dynamically by user login.
Has anyone else had these issues from users?
Regards
Gordon

S
spintz 4/16/2008

I have, and I've disabled both.
To disable the Any Field search, in the Search dropdown on the list page, edit the lheader.htm file for the layout you're using and comment out the line -

<option value="">##message ANY_FIELD##</option>


Just put <!-- at the beginning and --> at the end of the line.
To the not checkbox on the Advanced Search Page, comment out the following 2 lines (using the same <!-- and --> mentioned above) in the search.htm layout file -

<td width=30 align=center valign=middle class=searchlist>NOT</td>

<td align=center class=editshade_lb style="padding-left:10px;"><input type=CheckBox name="not_##@f.strName g##" {$not_##@f.strName g##}></td>


A better solution, would be to change the the Not checkbox to a dropdown. The problem with the checkbox is the immediate, intuitive reason for it being there is to include or not include that field in the search.