Create a free account to get access to additional free training videos. Enjoy this free video from CraftQuest! Create a free account to get access to additional free training videos. Join the Community

Creating a Dynamic Select Element

In this lesson we answer a Craft CMS Stack Exchange question about how to create a dynamic dropdown of years based on a start date. We learn about the range operator in Twig and how we can use it in different places to get the result we want.

Some stuff to help you along during the lesson: