Year Options



3rd Party (Free)

EE Version Support

  • ExpressionEngine 2


If an item is crossed out, it might be untested, not applicable or incompatible. Contact the developer to be sure.

  • Updater
  • Multi Site Manager
  • Stand Alone Entry Form
  • Low Variables
  • Content Elements
  • Better Workflow
  • Matrix
  • Grid
  • Webservice
  • Publisher


  • jQuery for the Control Panel

Add-On Type(s)



ExpressionEngine plugin which generates options for select fields starting from current year.


ExpressionEngine plugin which generates options for select fields starting from current year.


Copy the “year_options” folder to your /system/expressionengine/third_party folder.


Use {exp:year_options years=”” value_prefix=”” text_prefix=”“} to output year options.

The years parameter indicates the number of years in addition to this year you’d like to output, and is required. Both the value_prefix and test_prefix paramaters are optional.

Example 1

    <option value="">Year</option>
    {exp:year_options years="5"}

This would return:

    <option value="">Year</option>
    <option value="2014">2014</option>
    <option value="2013">2013</option>
    <option value="2012">2012</option>
    <option value="2011">2011</option>
    <option value="2010">2010</option>
    <option value="2009">2009</option>

Example 2

    <option value="">Year</option>
    {exp:year_options years="5" value_prefix="ABC-" text_prefix="XYZ-"}

This would return:

    <option value="">Year</option>
    <option value="ABC-2014">XYZ-2014</option>
    <option value="ABC-2013">XYZ-2013</option>
    <option value="ABC-2012">XYZ-2012</option>
    <option value="ABC-2011">XYZ-2011</option>
    <option value="ABC-2010">XYZ-2010</option>
    <option value="ABC-2009">XYZ-2009</option>

Year Options Links

This entry was created November 7, 2014, 10:20 am.
This entry was last updated November 7, 2014, 12:43 pm.

Disclaimer: Information about ExpressionEngine add-ons is provided as a service to you, the user, and every member of the ExpressionEngine community. devot:ee is not responsible if you hose, mangle, wreck, or otherwise destroy your EE website by installing an add-on that you found out about at this site, regardless of its rating, Favorites status, commercial or free status, or general popularity. Caveat EEmptor!

Returns: devot:ee has a 30-day return policy on all commercial add-ons sold through If you need to return an add-on, do not go to the developer or the developer's site, but rather visit our returns page at to initiate your return. If you have questions, email

There are no reviews for this add-on yet.

What are you waiting for? Rate it and review it!