Account created on 27 February 2019, over 6 years ago
#

Recent comments

I'm trying to do a similar thing:

- I created a view with 2 blocks showing different fields of the same taxonomy terms.
- I added an exposed filter (all display)
- I added the 2 blocks on a page and therefore I get 2 forms containing both the same field.

Drupal doesn't like to have the same field with the same id twice so it modifies the ID (add '--2' at the end) of the second one. It does make sense but I want the 2 blocks to respond the same field. From this post and others I can see that some people get one form working on both blocks and I don't understand how to achieve that. 
I've set "Exposed form in block" to yes for the second block so I get only one form but it looks like the second form is still expecting data from the renamed field.

How can I get the 2 blocks to respond to the same form? 

Thanks!  

#4 is not working for me. The load should apply to $(window) and not $(document).
This one is working for me

Production build 0.71.5 2024