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
Comment #1
mayur.pimple CreditAttribution: mayur.pimple commentedsubscribe +
Comment #2
Nicolas Bouteille CreditAttribution: Nicolas Bouteille commentedBy 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!
Comment #3
Umac_de CreditAttribution: Umac_de commentedIt worked for me by activating -> form in block -> and adding the block to the page
Comment #4
mikeker CreditAttribution: mikeker commentedIssue queue cleanup...
@Nicolas Bouteille: Thanks for the solution in #2. If that does not solve the original problem, feel free to reopen this issue.
Comment #5
sano CreditAttribution: sano commented@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) :-)