<?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: gform_date_min_year not working</title>
		<link>https://legacy.forums.gravityhelp.com/topic/gform_date_min_year-not-working</link>
		<description>Gravity Support Forums Topic: gform_date_min_year not working</description>
		<language>en-US</language>
		<pubDate>Sat, 04 Apr 2026 12:43:20 +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/gform_date_min_year-not-working" rel="self" type="application/rss+xml" />

		<item>
			<title>uvalib on "gform_date_min_year not working"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/gform_date_min_year-not-working#post-53204</link>
			<pubDate>Thu, 22 Mar 2012 13:41:49 +0000</pubDate>
			<dc:creator>uvalib</dc:creator>
			<guid isPermaLink="false">53204@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I misunderstood the gform_date_min_year and gform_date_max_year filters. These filters affect a date field only if it's using the drop down date input type. I was thinking it modified the min and max years that are available via the Date Picker jquery option.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>uvalib on "gform_date_min_year not working"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/gform_date_min_year-not-working#post-53089</link>
			<pubDate>Wed, 21 Mar 2012 16:59:41 +0000</pubDate>
			<dc:creator>uvalib</dc:creator>
			<guid isPermaLink="false">53089@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I have used this documentation to modify the date fields on a form:&#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;So I have put this in my functions.php file but it does not change the minimum year from the selection list to 2012. It still shows years back to 1912:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;// Date fields on forms will be looking for a date going foward. So make the minimum year the
// the current one.
add_filter(&#38;quot;gform_date_min_year&#38;quot;, &#38;quot;set_min_year&#38;quot;);
function set_min_year($min_year){
	return intval(date(&#38;quot;Y&#38;quot;));
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Any thoughts on why this might not be working?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
