Use value of a dropdown field for an `include` I'm trying to have this include be updated by the option I choose in my dropdown.

{% include 'subnav_programs.html' %}


My dropdown is called entry.dropSubsection

I put {% include '{{ entry.dropSubsection }}' %} in my html file but it keeps giving me errors.

I get this error:


  Unable to find the template “{{ entry.dropSubsection }}”.
You don't need to (more specifically, you can't) nest Twig tags within other Twig tags. Ditch the inner Twig tag and its respective quotes, and just pass the variable directly into the outer Twig tag...

{% include entry.dropSubsection %}


That being said, I'm not sure this will achieve exactly what you're looking for. You may need to append .value as well...

{% include entry.dropSubsection.value %}