Skip Navigation

[Resolved] Update results after value change not working

This support ticket is created 7 years, 7 months ago. There's a good chance that you are reading advice that it now obsolete.

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
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9: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/Hong_Kong (GMT+08:00)

This topic contains 2 replies, has 2 voices.

Last updated by myleneB 7 years, 7 months ago.

Assisted by: Luo Yang.

Author
Posts
#509506

I have a sidebar with 2 different parametric searches. They both work well. But 2 search buttons is confusing, so I changed one of the parametric search to Mise à jour des résultats AJAX lorsque les visiteurs modifient une valeur de filtre (in Custom Search settings - sorry it is in French) so that the results would change when the value would change, instead of when pressing Search button.

The search is done with a drop-down list.

I expected that, when choosing an option in the drop-down list, the results would update, without having to press any button.

Instead, I got: Nothing. I choose in the drop down list and nothing happens

What I want: When I choose an option in a drop down list, results should change (without pressing a button) it can be Ajax or page refresh if it is the only way, as long as it works!

#509640

Dear Mylene,

The AJAX filter form of Views only works when you use one Views shortcode [wpv-view] to display both the filter form and search results, in your case, you are using widget to display the Views filter form, the AJAX filter will not work as expected, it is a limitation of Views plugin.

#509824

OK!
So instead of using as a widget,
I should have a page where I put both shortcodes for search and result, correct?
Thank you for a fast a concise response!