<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Gravity Support Forums Topic: Date Drop Down - future dates</title>
		<link>https://legacy.forums.gravityhelp.com/topic/date-drop-down-future-dates</link>
		<description>Gravity Support Forums Topic: Date Drop Down - future dates</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 20:46:50 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.1</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>https://legacy.forums.gravityhelp.com/search.php</link>
		</textInput>
		<atom:link href="https://legacy.forums.gravityhelp.com/rss/topic/date-drop-down-future-dates" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Hajer on "Date Drop Down - future dates"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/date-drop-down-future-dates#post-120528</link>
			<pubDate>Sat, 12 Jan 2013 22:06:31 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">120528@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I'l tag this too as a feature request. Thank you for the suggestion.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>howdy on "Date Drop Down - future dates"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/date-drop-down-future-dates#post-120467</link>
			<pubDate>Sat, 12 Jan 2013 17:42:48 +0000</pubDate>
			<dc:creator>howdy</dc:creator>
			<guid isPermaLink="false">120467@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thanks Chris, very handy. The only issue with this is the years are in reverse, so looks kind of strange:&#60;br /&#62;
2018&#60;br /&#62;
2017&#60;br /&#62;
2016&#60;br /&#62;
2015&#60;br /&#62;
2014&#60;br /&#62;
2013&#60;/p&#62;
&#60;p&#62;Would be more logically if future dates were ascending. I vote for a &#34;future dates&#34; switch on the date drop down field - which would automatically add similar filters and list the years in ascending order
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Date Drop Down - future dates"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/date-drop-down-future-dates#post-120446</link>
			<pubDate>Sat, 12 Jan 2013 16:58:18 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">120446@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;It appears there are already filters for that: gform_date_max_year and gform_date_min_year.&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Gform_date_max_year&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Gform_date_max_year&#60;/a&#62;&#60;br /&#62;
&#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Gform_date_min_year&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Gform_date_min_year&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Here is how I used it to change my drop down:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;[php]
add_filter(&#38;#39;gform_date_max_year&#38;#39;, &#38;#39;change_max_year&#38;#39;);
function change_max_year($max_year) {
    return date(&#38;#39;Y&#38;#39;) + 7;
}
add_filter(&#38;#39;gform_date_min_year&#38;#39;, &#38;#39;change_min_year&#38;#39;);
function change_min_year($min_year) {
    return &#38;#39;1977&#38;#39;;
}&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>howdy on "Date Drop Down - future dates"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/date-drop-down-future-dates#post-120408</link>
			<pubDate>Sat, 12 Jan 2013 15:21:43 +0000</pubDate>
			<dc:creator>howdy</dc:creator>
			<guid isPermaLink="false">120408@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;The date drop down is one of the most usable elements of gravity forms - for international form fillers this removes any confusion over date formats.&#60;/p&#62;
&#60;p&#62;The biggest issue is the years are only in the past (and one year into the future).&#60;/p&#62;
&#60;p&#62;Would it be possible to add a switch for future dates? This would be incredibly handy for people specifying dates in the future.&#60;/p&#62;
&#60;p&#62;2013&#60;br /&#62;
2014&#60;br /&#62;
2015&#60;br /&#62;
etc.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
