Is there a way to change the search functionality to only show results AFTER more than 3 or 4 characters are typed in the search box? I assume this would mean modifying the JS file, which i’m fine with.
This topic was modified 7 months, 2 weeks ago by wallydavid.
Unfortunately, I’m not aware of a directly usable solution. You would indeed have to use modified JavaScript code here. However, I don’t recommend editing the JS file of the external DataTables JS library that TablePress uses, but instead use its API to modify the search function. This approach could maybe serve as an example: https://wordpress.org/support/topic/how-to-trigger-search-when-pressed-enter-key-2/#post-11715109
You could probably modify that to not wait for an “Enter” press, but until 3 or 4 characters have been typed.
Regards,
Tobias
Viewing 1 replies (of 1 total)
The topic ‘Show Search results AFTER more than 3 characters typed’ is closed to new replies.