• Resolved Jagobezzer

    (@jagobezzer)


    Hi Guys, I’ve done a search on the forums but not found how to do this.

    I have a database of Fruit Tree entries and locations, I have set the search criteria using the multi-search plugin. The clear button, clears the search menu criteria just fine.

    But all the database entries are showing on the page below the form when I visit the page. Is there a way to clear those results? Or are they there permanently??

    Please and thank you.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author xnau webdesign

    (@xnau)

    It sounds like you don’t want any thing shown in the list unless a search is performed…correct? You can use the “suppress” attribute to prevent the list showing any record unless a search is performed…for example:

    [pdb_list search=true suppress=true]

    You will need to modify that shortcode for your own purposes, just showing how to use the suppress attribute..

    Thread Starter Jagobezzer

    (@jagobezzer)

    Hi there, thank you for the prompt reply. The page currently has this shortcode in it.

    [pdb_list template=multisearch]

    if I replace the shortcode with

    [pdb_list search=true suppress=true]

    All hell breaks loose :)))

    Am I right in thinking it should be

    [pdb_list template=multisearch search=true suppress=true]

    Everyday is a learning curve for me! Appreciate your help.

    James

    Thread Starter Jagobezzer

    (@jagobezzer)

    P.S I think it’s fixed, thank you XNAU, no stopping me now.

    Next to hack the Federal Reserve :)))

    Cheers
    James

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Clearing search results?’ is closed to new replies.