Results with empty search field

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Results with empty search field

This topic contains 1 reply, has 2 voices, and was last updated by Ernest Marcinko Ernest Marcinko 5 years, 1 month ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #17641
    wearehonestly
    wearehonestly
    Participant

    Hi,

    Just a simple question but I can’t seem to find an answer within the knowledge base.

    Is there a way to stop search results from appearing once the search text field is empty.

    scenario:

    1) Input text “family” into the search field
    2) after search results are populated, the text “family” is deleted from the search field
    3) random search results populate even though the search field is empty

    Is there any way to stop search results from populating when the search field is empty? I think its just pulling random results.

    Thanks

    #17642
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi,

    Yes, it is possible of course. On the General Options -> Logics & Behaviour panel you can change the minimum number of inputted characters to trigger the search: https://i.imgur.com/JN8ZURd.png

    By default it is set to 0. Change it to 1 or above, it will do the trick.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.