# Display of the date drop down field

**URL:** <https://community.gravityforms.com/t/display-of-the-date-drop-down-field/1604>\
**Category:** Get Help\
**Tags:** gform\_date\_min\_year, gform\_date\_max\_year, date-field\
**Created:** [April 15, 2019, 1:37pm UTC](https://community.gravityforms.com/t/display-of-the-date-drop-down-field/1604 "2019-04-15T13:37:38Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![user5bf867351ecce8.9](https://avatars.discourse-cdn.com/v4/letter/u/ed8c4c/32.png) [@user5bf867351ecce8.9](https://community.gravityforms.com/u/user5bf867351ecce8.9)\
**Post date:** [April 15, 2019, 1:37pm UTC](https://community.gravityforms.com/t/display-of-the-date-drop-down-field/1604/1 "2019-04-15T13:37:38Z")

</div>

Hi, I have two questions relating to the date drop down field.

1. I have setup the date field with a minimum date of 2019 and a maximum date of 2024 using:

add\_filter( ‘gform\_date\_min\_year’, ‘set\_min\_year’ ) and  
add\_filter( ‘gform\_date\_max\_year’, ‘set\_max\_year’ )

The display of the years are displaying in the reverse order to what I would like with 2024 as the first option which doesn’t seem logical. How do I reverse the display of the years?

1. I would like to display the names of the months rather than the numbers of the month on the drop-down field. How do I do this?

Thanks for any help!

---

<div class="post-metadata">

**Author:** ![chrishajer](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/chrishajer/32/88_2.png) [@chrishajer](https://community.gravityforms.com/u/chrishajer)\
**Post date:** [April 15, 2019, 2:09pm UTC](https://community.gravityforms.com/t/display-of-the-date-drop-down-field/1604/2 "2019-04-15T14:09:45Z")

</div>

I would recommend creating your own drop downs to enforce the range and format you like. There are not other filters available for the date drop downs specifically.

You could dynamically generate the drop down if you like, so you don’t have to update your code manually (you could always show the 5 years that you want starting with the current month):

Here is an approach for creating your own drop downs:

> **[Dynamically Populating Drop Down, Radio Buttons or Multi-Select Fields](http://docs.gravityforms.com/dynamically-populating-drop-down-or-radio-buttons-fields/)**
>
> The premise for this walkthrough is that we want to populate the options in a Gravity Form select field with all of the posts currently published on the site.

---

<div class="post-metadata">

**Author:** ![user5bf867351ecce8.9](https://avatars.discourse-cdn.com/v4/letter/u/ed8c4c/32.png) [@user5bf867351ecce8.9](https://community.gravityforms.com/u/user5bf867351ecce8.9)\
**Post date:** [April 23, 2019, 4:46pm UTC](https://community.gravityforms.com/t/display-of-the-date-drop-down-field/1604/3 "2019-04-23T16:46:46Z")

</div>

Thanks for the help!

---

<div class="post-metadata">

**Author:** ![richardw8k](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/richardw8k/32/2354_2.png) [@richardw8k](https://community.gravityforms.com/u/richardw8k)\
**Post date:** [January 4, 2022, 5:28pm UTC](https://community.gravityforms.com/t/display-of-the-date-drop-down-field/1604/4 "2022-01-04T17:28:45Z")

</div>


