Return all Matrix blocks with a drop down set to a specified value I'm in the context of an Entry that has a Matrix field, and one of those Matrix fields is a Dropdown called subsection. I want to grab all Matrix blocks that have subsection set to 'intro'.

This is how I'm trying to do it and it definitely doesn't work. Is there another way to accomplish this?

{% for block in entry.myMatrix.subsection('intro') %}
…
{% endfor %}
How about:

{% for block in entry.myMatrix if block.subsection == 'intro' %}
    ...
{% endfor %}