# \#date-dropdown

**URL:** https://community.gravityforms.com/tag/date-dropdown/2812.md

[Latest](https://community.gravityforms.com/latest.md) · [Categories](https://community.gravityforms.com/categories.md) · [Tags](https://community.gravityforms.com/tags.md)

---

## [Date drop down list](https://community.gravityforms.com/t/date-drop-down-list/18544)

<div class="topic-metadata">

**Author:** [@user5a0d98672ade19.6](https://community.gravityforms.com/u/user5a0d98672ade19.6)\
**Replies:** 1\
**Last updated:** [November 25, 2024, 2:41pm UTC](https://community.gravityforms.com/t/date-drop-down-list/18544 "2024-11-25T14:41:10Z")

</div>

Hi, I want the date field not to show past dates, but only future days. Is this not possible? I already tried this code, but it didnt work: gform.addFilter( 'gform\_datepicker\_options\_pre\_init', function( optionsObj, fo…

---

## [Date dropdown year min/max \[RESOLVED\]](https://community.gravityforms.com/t/date-dropdown-year-min-max-resolved/17130)

<div class="topic-metadata">

**Author:** [@TigerLineGolf](https://community.gravityforms.com/u/TigerLineGolf)\
**Replies:** 1\
**Last updated:** [March 24, 2024, 3:46pm UTC](https://community.gravityforms.com/t/date-dropdown-year-min-max-resolved/17130 "2024-03-24T15:46:02Z")

</div>

The following code is used to set the min and max dates in a date drop down field add\_filter( 'gform\_date\_min\_year', 'set\_min\_year' ); function set\_min\_year( $min\_year ) { return 1900; } and add\_filter( 'gform\_dat…
