Skip to main content
1 of 3
kingkelly
  • 347
  • 2
  • 8

Update an Include with a field

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.

(the error i get is Unable to find the template “{{ entry.dropSubsection }}”.)

kingkelly
  • 347
  • 2
  • 8