Skip Navigation

[Resolved] Split: The search form isn't working as expected – reset button not working in accordion

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 1 reply, has 2 voices.

Last updated by Minesh 9 months, 3 weeks ago.

Assisted by: Minesh.

Author
Posts
#2680035

There is also an issue with the reset button, that this not really does anything.

And I am not sure, but what do I need to set, if the search results should show, not only when click on the search button? I think Ajax something?

#2680036

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

I've added the following custom JS code to your view's "Search and Pagination" JS editor:

jQuery(document).ready(function($){
  
  $(".js-wpv-reset-trigger").click(function(){
    window.location.href = window.location.pathname;
 
});

});

Can you please confirm reset button is working now.

#2680043

The reset button is working with this javascript.