I've got a view with filter, just searching by name. How can I trigger the search after each keypress, instead of waiting for SEARCH button?
Just
Hello there,
Regarding the search inputs, they are currently structured within a form. When you update the results, even through ajax, the entire form gets updated. This also leads to the replacement of the current form along with the View results.
I'm afraid achieving what you desire using Views alone might not be feasible. A custom solution is necessary for ajax submissions after each keystroke/keypress + handling the returned matching posts to populate the results.
I'm afraid that this is beyond the scope of our support policy.
However, I can suggest you some helpful tutorials that cover using ajax in the context of WordPress, such as the one available at: versteckter Link
To generate the results of the View query as HTML, you can incorporate the API function render_view in your code. For more information, you can visit: https://toolset.com/documentation/programmer-reference/views-api/#render_view
If implementation becomes a roadblock, you might want to explore the list of Toolset Contractors for assistance: https://toolset.com/contractors/
Best regards,
Mateus