<?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: Unable to Set minDate/maxDate using jQuery UI Datepicker</title>
		<link>https://legacy.forums.gravityhelp.com/topic/unable-to-set-mindatemaxdate-using-jquery-ui-datepicker</link>
		<description>Gravity Support Forums Topic: Unable to Set minDate/maxDate using jQuery UI Datepicker</description>
		<language>en-US</language>
		<pubDate>Tue, 21 Apr 2026 12:15:22 +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/unable-to-set-mindatemaxdate-using-jquery-ui-datepicker" rel="self" type="application/rss+xml" />

		<item>
			<title>David Smith on "Unable to Set minDate/maxDate using jQuery UI Datepicker"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/unable-to-set-mindatemaxdate-using-jquery-ui-datepicker#post-83763</link>
			<pubDate>Thu, 25 Oct 2012 15:49:29 +0000</pubDate>
			<dc:creator>David Smith</dc:creator>
			<guid isPermaLink="false">83763@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thanks for the feedback Fervor and sorry for the lost time. When the datepicker functionality was originally release with Gravity Forms, it did not come packaged with WordPress. The upcoming version of Gravity Forms (1.7) addresses this issue and uses the packaged datepicker version that comes with WordPress.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Unable to Set minDate/maxDate using jQuery UI Datepicker"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/unable-to-set-mindatemaxdate-using-jquery-ui-datepicker#post-83659</link>
			<pubDate>Thu, 25 Oct 2012 10:37:29 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">83659@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thank you for the helpful information.  I passed it on to the developers to get their feedback on the jQuery version.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Anonymous on "Unable to Set minDate/maxDate using jQuery UI Datepicker"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/unable-to-set-mindatemaxdate-using-jquery-ui-datepicker#post-83545</link>
			<pubDate>Thu, 25 Oct 2012 01:17:38 +0000</pubDate>
			<dc:creator>Anonymous</dc:creator>
			<guid isPermaLink="false">83545@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;For anyone that's having trouble with the jQuery UI Datepicker, pay extra attention to the version of jQuery UI and the API methods you're using.&#60;/p&#62;
&#60;p&#62;For whatever reason, Gravity Forms v1.6.9 is [as of this writing] using an extremely outdated version of jQuery UI -- they're using a legacy v1.6 (April 2009), when the current release is v1.9 (October 2012).&#60;/p&#62;
&#60;p&#62;The reason this matters is that the Datepicker has undergone significant changes on how it expects date values.&#60;/p&#62;
&#60;p&#62;For example, to set the minDate/maxDate using jQuery UI 1.6, you need to use:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;$(&#38;#39;#input_2_15&#38;#39;).datepicker(&#38;#39;destroy&#38;#39;);

$(&#38;#39;#input_2_15&#38;#39;).datepicker({
	// Date(yyyy, mm - 1, dd)
    minDate: new Date(2012, 10 - 1, 25),
    maxDate: new Date(2012, 10 - 1, 30)
});&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;In newer versions of jQuery UI, you can use the more common &#60;a href=&#34;http://api.jqueryui.com/datepicker/#option-dateFormat&#34; rel=&#34;nofollow&#34;&#62;mm/dd/yyyy&#60;/a&#62; format:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;$(&#38;#39;#input_2_15&#38;#39;).datepicker(&#38;#39;destroy&#38;#39;);

$(&#38;#39;#input_2_15&#38;#39;).datepicker({
    minDate: &#38;#39;10/25/2012&#38;#39;,
    maxDate: &#38;#39;10/30/2012&#38;#39;
});&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;I wasted nearly an entire day debugging this problem.&#60;/p&#62;
&#60;p&#62;If anyone of the Gravity Forms developers are listening, please upgrade your JavaScript libraries, or create a filter to allow us to choose which version we want to use!
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
