Hello all,

We are trying to find the best way to make a different selection type for exposed filters. Currently appear to only have Dropdown and Autocomplete, but we need a row of buttons for each option instead of a textbox or dropdown menu.

Can anyone point us in the right direction? I took a look at better exposed filters but it doesn't give us what we need.

I also looked at Webforms but I'm not sure that quite meets the requirements either.

Thanks so much,

Dustin

Comments

wombatbuddy’s picture

Could you share the image with the expected result?

Dustin Shackley’s picture

Only local images are allowed.

https://ibb.co/Z6RHJsK

This is what we'd like it to look like.

A row of buttons that when clicked change the filter criteria using ajax.

wombatbuddy’s picture

My first impression is that exposed filters are not suitable for this.
Instead of you can create the block with the buttons (links).
Or it can be a menu block.
Each link will be link to a unique view.
Or maybe, it make sense to use contextual filters instead?
Every links will be link to a single view but will have different arguments for contextual filters?