Skip Navigation

[Resolved] Second submit button for applying filters

This support ticket is created 5 years, 3 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 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

Tagged: 

This topic contains 5 replies, has 3 voices.

Last updated by catrionaD 5 years, 3 months ago.

Assisted by: Shane.

Author
Posts
#1309787

I am trying to:

Create search and filter view. Users can search via text input and select "go" &/or they can click to open the Filter button modal, select and apply filters to browse results (posts)

Link to a page where the issue can be seen:
hidden link

I expected to see: hitting the apply button in the modal pop-up should apply the filters

Instead, I got: filters are not applied

#1309795
#1309825

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Catriona,

Thank you for getting in touch.

Your search filters can only have 1 submit button and it will apply all the filters. If a filter is not selected with a value then it won't get applied.

Also I'm not seeing any modal popups.

Thanks,
Shane

#1310209

Hi Shane,

The modal popup is visible in mobile mode, when users hit the "Filter" button. I have had to suspend the filters for now because they do not work (due to the one submit button restriction).

How do others workaround this issue? It should be fairly standard having a search bar and filters on the same page. Its on most websites.

Can you please suggest a solution / workaround?

Thanks
Cat

#1310525

Hi, Shane is on public holiday today and will return tomorrow to continue assisting you.

#1311535

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Catriona,

I believe the problem is that you're not using the same submit button that view requires.

[wpv-filter-submit name="Go" output="bootstrap" class="mgosearch"]

Try using the shortcode for it and let me know if it helps.
Thanks,
Shane

#1317823

Thank you this resolved the issue 🙂