I'd like to know if there is a way to modify the exposed check-boxes filter of Views Dynamic Fields module and convert it to a multi-select dropdown menu (like an ordinary exposed filter).

Unfortunately Better Exposed Filters module which makes that kind of modification possible, does not seem to apply on dynamic fields exposed filters.

Could anyone guide me how to make this kind of change on own?


U can do it through hook_form_alter, just check the form_id, and change the type of form element to that of select, it will create select list from checkboxes.

However for making it working u have to write some jQuery.

$("#<form_element_id>").on('click', function(){

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.