Skip Navigation

[Resolved] Search Categories

This support ticket is created 5 years, 9 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.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

This topic contains 2 replies, has 2 voices.

Last updated by valentinP-3 5 years, 8 months ago.

Assisted by: Christian Cox.

Author
Posts
#1199331

Tell us what you are trying to do? We created a cpt form for post submissions. On this submission form we have a lot of categories that can be selected as checkboxes. Because there are many categories, we put them in a <div> with overlay-y css option.
Because of the large amount of categories displayed, the user can now scroll to search the right category or subcategory, but it can be very hard for the user to locate the right category (given the fact that there are many categories/child categories/etc.).

We want to insert at the top of the category list a searchbox so the user can narrow his options (or jump to the category) depending on what he searches in the category list.

Can you provide us a solution please?

#1199376

Hi, unfortunately there's not a built-in solution that will help you filter a long list of checkboxes using a typeahead or search. The only fields that currently offer typeahead inputs are post relationship fields and address fields. You might be able to achieve this type of checkbox filter with some custom JavaScript, but it will require advanced JavaScript development skills and it may or may not integrate well with conditional groups that rely on those checkboxes. If you need professional assistance, we have a portal available where you can contact independent contractors: https://toolset.com/contractors/

#1205417

My issue is resolved now. Thank you!