This topic contains 1 reply, has 2 voices, and was last updated by Ernest Marcinko 5 years, 1 month ago.
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.
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 5 years, 1 month ago.
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
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,You must be logged in to reply to this topic.
Cookie | Duration | Description |
---|---|---|
cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |