I'm trying to create a module that allows to update an exposed filter's values on change of another exposed filter via ajax.
I could make it work with regular select lists (single and multiple), and I would like it to work with BEF checkboxes and radio-buttons too.
Unfortunately it doesn't.
Indeed, the ajax 'change' event is not fired on checkboxes / radio buttons elements... nothing happens.
I noticed that the 'ajax-processed' css class is not even added to the input elements but adding it is not enough to solve the problem. I can't get the event to get fired.
Or maybe I am missing something... ?
Thanks in advance

Comments

mayur.pimple’s picture

subscribe +

Nicolas Bouteille’s picture

By the way, even though at this stage you might not need this anymore, here's how I managed to update an exposed filter's values on change of another exposed filter via ajax...

http://bouteillenicolas.com/expertise-drupal/views-ajax-dynamic-dependen...

Either you can learn something about it or I can :) don't hesitate leave comments on my article telling me how I could improve this. Thanks!

Umac_de’s picture

Issue tags: +exposed filters ajax

It worked for me by activating -> form in block -> and adding the block to the page

mikeker’s picture

Issue summary: View changes
Status: Active » Closed (works as designed)

Issue queue cleanup...

@Nicolas Bouteille: Thanks for the solution in #2. If that does not solve the original problem, feel free to reopen this issue.

sano’s picture

@Umac_de thanks for sharing this tip, but it did not work for me. However, I did not expect it to work anyways and maybe that's the problem (see placebo effect) :-)