<?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: trouble implementing date picker restriction</title>
		<link>https://legacy.forums.gravityhelp.com/topic/trouble-implementing-date-picker-restriction</link>
		<description>Gravity Support Forums Topic: trouble implementing date picker restriction</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 01:22:55 +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/trouble-implementing-date-picker-restriction" rel="self" type="application/rss+xml" />

		<item>
			<title>David Peralty on "trouble implementing date picker restriction"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/trouble-implementing-date-picker-restriction#post-222847</link>
			<pubDate>Wed, 24 Apr 2013 16:40:13 +0000</pubDate>
			<dc:creator>David Peralty</dc:creator>
			<guid isPermaLink="false">222847@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;It was to point it to the field element. You were pointing to an ID that didn't exist. :)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>dapg on "trouble implementing date picker restriction"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/trouble-implementing-date-picker-restriction#post-222842</link>
			<pubDate>Wed, 24 Apr 2013 16:34:55 +0000</pubDate>
			<dc:creator>dapg</dc:creator>
			<guid isPermaLink="false">222842@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;ah, perfect!  that did the trick.  Thanks for the help there.&#60;/p&#62;
&#60;p&#62;Was that change just to point the command to the specific form?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Peralty on "trouble implementing date picker restriction"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/trouble-implementing-date-picker-restriction#post-222835</link>
			<pubDate>Wed, 24 Apr 2013 16:26:17 +0000</pubDate>
			<dc:creator>David Peralty</dc:creator>
			<guid isPermaLink="false">222835@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Can you try:&#60;br /&#62;
$( &#34;#input_1_14&#34; ).datepicker ...
&#60;/p&#62;</description>
		</item>
		<item>
			<title>dapg on "trouble implementing date picker restriction"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/trouble-implementing-date-picker-restriction#post-222805</link>
			<pubDate>Wed, 24 Apr 2013 15:41:04 +0000</pubDate>
			<dc:creator>dapg</dc:creator>
			<guid isPermaLink="false">222805@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi David,&#60;/p&#62;
&#60;p&#62;I've just added the JS to my child theme.  Still not working.  Looks like this:&#60;/p&#62;
&#60;p&#62;'&#38;lt;?php wp_head(); ?&#38;gt;&#60;/p&#62;
&#60;p&#62;    &#38;lt;script&#38;gt;&#60;br /&#62;
jQuery.noConflict();&#60;br /&#62;
jQuery(document).ready(function($) {&#60;br /&#62;
$( &#34;#datepicker&#34; ).datepicker({ minDate: '+2', gotoCurrent: true, prevText: '', showOn: 'both', buttonImage: '/wp-content/plugins/gravityforms/images/calendar.png', buttonImageOnly: true });&#60;br /&#62;
});&#60;br /&#62;
&#38;lt;/script&#38;gt;&#60;/p&#62;
&#60;p&#62;&#38;lt;/head&#38;gt;'&#60;/p&#62;
&#60;p&#62;thanks for any help!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Peralty on "trouble implementing date picker restriction"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/trouble-implementing-date-picker-restriction#post-211870</link>
			<pubDate>Tue, 16 Apr 2013 16:35:31 +0000</pubDate>
			<dc:creator>David Peralty</dc:creator>
			<guid isPermaLink="false">211870@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Can you just wrap the JS in the header of your child theme so it shows up as I don't see the JS currently being included on the page?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>dapg on "trouble implementing date picker restriction"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/trouble-implementing-date-picker-restriction#post-211793</link>
			<pubDate>Tue, 16 Apr 2013 14:07:35 +0000</pubDate>
			<dc:creator>dapg</dc:creator>
			<guid isPermaLink="false">211793@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;still looking for help here.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>dapg on "trouble implementing date picker restriction"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/trouble-implementing-date-picker-restriction#post-202712</link>
			<pubDate>Tue, 09 Apr 2013 13:41:42 +0000</pubDate>
			<dc:creator>dapg</dc:creator>
			<guid isPermaLink="false">202712@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hey there,&#60;/p&#62;
&#60;p&#62;I'm in the midst of building a site located here:&#60;br /&#62;
&#60;a href=&#34;http://mix4tv.com/submit-your-project/&#34; rel=&#34;nofollow&#34;&#62;http://mix4tv.com/submit-your-project/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;The specific action I'm trying to take is to make the date picker restrict the available inputs to only today plus 2.&#60;/p&#62;
&#60;p&#62;I've found the following threads, but still haven't been able to get this working:&#60;br /&#62;
&#60;a href=&#34;http://www.gravityhelp.com/forums/topic/date-picker-restriction-dates&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/forums/topic/date-picker-restriction-dates&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;in that thread, the user actually did implement his restriction exactly as I want mine to work.  I tried copying his code into an html block in my form, but it seemed to have no effect.&#60;/p&#62;
&#60;p&#62;I AM able to get the date field to convert to read only using a javascript in an html block later in the same form, so I feel like my placement of the code is correct - the issue may just be what the code actually says.&#60;/p&#62;
&#60;p&#62;I then found this thread:&#60;br /&#62;
&#60;a href=&#34;http://www.gravityhelp.com/forums/topic/date-picker-excluding-todays-date#post-84682&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/forums/topic/date-picker-excluding-todays-date#post-84682&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;and pasted the code from the first thread referenced into a date_restriction.js file and placed it into a /js folder in my child theme.  When I attempted to paste the gform_enque into my I functions.php file (after changing it to reflect my form id) still got no effect.&#60;/p&#62;
&#60;p&#62;It seems like this should be simpler than it is.  :)&#60;/p&#62;
&#60;p&#62;any help appreciated.&#60;/p&#62;
&#60;p&#62;thanks!
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
