Skip Navigation

[Resolved] Need to create a dropdown with checkboxes in the custom toolset search

This support ticket is created 6 years, 5 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
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Supporter timezone: Europe/London (GMT+00:00)

This topic contains 2 replies, has 2 voices.

Last updated by amrinderS 6 years, 5 months ago.

Assisted by: Nigel.

Author
Posts
#915630
Screenshot (1).png

I am creating a custom search view with Drop-down Menu which further contains checkbox elements. But it seems that its not possible straight away using Toolset. I was just curious if there is a way to do it using Toolset. It would be helpful if you can reply this query.

I am attaching a screenshot of a similar work which I am trying to achieve with Toolset. Particular view is enclosed in a box with red border.

website link- hidden link

#915744

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Screen Shot 2018-06-20 at 11.10.28.png

I visited the site to look at the markup for that filter but the page I went to presented them as normal checkboxes (see screenshot).

I suspect that the field you are looking at is a checkboxes filter, and then some custom styling has been used to hide the checkboxes within a dropdown.

You could do something similar, but it's a custom solution.

To be clear, you can output the search filters as a dropdown, or as checkboxes, but not as both in some kind of hybrid.

I would study the site to see how they have done it to see whether you can reproduce it, bearing in mind that the starting point will almost certainly be to display the filter as checkboxes. They could be using a 3rd-party JavaScript library that lets you present checkboxes inputs in the dropdown that way, but if one exists I'm not familiar with it.

#915995

Thanks Nigel.

I managed to get this solved by myself.

Thanks for your information.